Re: Testing a new app

2015-05-28 Thread Klaas Feenstra
Using GIT would be the way of working.. On Thu, May 28, 2015 at 4:24 AM, DZ wrote: > Greetings, > > I want to start a new app that if it works out I will tie into a larger > django app. I do not really want the worlds to mix at the start just in > case I need scrap

Re: Changing a form field's value during cleaning

2015-05-27 Thread Klaas Feenstra
Hi, Maybe you can solve this in the views.py with commit=False https://docs.djangoproject.com/en/1.8/topics/forms/modelforms/ And from here you can render the new form with the initial data # Create a form instance with POST data.>>> f = AuthorForm(request.POST) # Create, but don't save the

django-1-8-form-with-fieldmap-for-receiving-mailgun-icoming-mails

2015-05-21 Thread Klaas Feenstra
Hello Django users, I want to receive mails from mailgun in a Django web application. I have problem with parsing the data to the form. As you can see, in the froms.py there is a field_map, to convert the fields Mailgun sends to the model fields. This is not working. All fields that are not