sounds like you didn't make a migration after the change.
On Tuesday, July 3, 2018 at 1:24:40 AM UTC-4, Rakhee Menon wrote:
>
> Yeah! but now I get this error
>
> 'required': 'This field is required.', 'null': 'This field may not be
> null.', 'invalid': 'Invalid data. Expected a dictionary, but got
> {datatype}.'}
> ipdb> serializer.errors
> {'cast_weight': ['A valid number is required.']}
>
> In models.py
> cast_weight = models.FloatField(null=True, blank=True)
>
>
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-users/50326925-a141-404d-bd87-bc7c7bf81fcc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.