hello

2018-02-09 Thread bugsinsite
hello -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-developers+unsubscr...@googlegroups.com. To post to this grou

Re: Don't assume that missing fields from POST data are equal to an empty string value.

2018-02-09 Thread Oleg
> > For whatever reason, if a field is not provided in the request data, then > Django is assuming it is an empty string and overwriting existing data. > I recently discovered that if the model field has the *default* attribute, then the non-existent fields in the POST data will not be populate