Wednesday, July 29, 2015

About models validators location

I've searched for where to put the validators for my models, but I only found that they fit in models.py, outside the model class.
Is that correct or I should create a specific file for them?

--
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 django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/f13e32fa-bc14-4d35-9ca2-607460afd22f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment