Hello Abraham,
thanks for your answer!
On Mon, 12. Dec 10:15, 'Abraham Varricatt' via Django users
wrote:
> What about using the forms validate() method? i.e. if the user has not
> filled in all the JSON details, return a validation error. This should give
>
Hello Jochen,
On Monday, December 12, 2016 at 9:17:11 AM UTC-5, joche...@gmail.com wrote:
>
>
> for editing Objects, but it seems that those views can only deal with
> objects that already are in the database. So is there a more
> idiomatic way to solve this or am I stuck with the above
Hi,
I have a json file describing an object that I want to import into my
app. For that purpose, I want to upload it using a form field and fill
a ModelForm so the contents can be checked and edited by a user before
saving it to the database. This is what I'm currently doing:
# in forms.py
3 matches
Mail list logo