class Provider(models.Model):
description = models.TextField(default='')
Performing system checks...
Traceback (most recent call last):
File "/home/vagrant/.virtualenvs/myproject/lib/python3.4/site-packages/gevent/greenlet.py", line 523, in run
result = self._run(*self.args, **self.kwargs)
File "/home/vagrant/.virtualenvs/myproject/src/django/django/utils/autoreload.py", line 226, in wrapper
fn(*args, **kwargs)
File "/home/vagrant/.virtualenvs/myproject/src/django/django/core/management/commands/runserver.py", line 116, in inner_run
self.check(display_num_errors=True)
File "/home/vagrant/.virtualenvs/myproject/src/django/django/core/management/base.py", line 472, in check
raise SystemCheckError(msg)
django.core.management.base.SystemCheckError: SystemCheckError: System check identified some issues:
ERRORS:
businesses.Provider.description: (fields.E008) Invalid 'default' value: This field cannot be blank.
images.ImageSet.hash: (fields.E008) Invalid 'default' value: This field cannot be blank.
users.User.gender: (fields.E008) Invalid 'default' value: This field cannot be blank.
System check identified 3 issues (0 silenced).
--
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-develop...@googlegroups.com.
To post to this group, send email to django-d...@googlegroups.com.
Visit this group at http://groups.google.com/group/django-developers.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/c6ffdd4b-6147-43ff-be73-daef2e8149fe%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
I disagree with this system check and I would like to see it reverted before 1.9 final.
I admit that my opinions here are skewed by the fact that I think model level validation is fundamentally not well implemented by Django at all. I work to a philosophy that there are two places where validation happens - once at the entry point to the system (form or serialiser) and once at the database level to ensure integrity of the data.