Sunday, November 1, 2015

model Field subclass + validation

Hi folks,

I asked a question on StackOverflow and I don't know if it will get any
answers because it is quite specific. I would like to subclass a
JSONField implementation to add some custom validation logic and don't
really know where to start.

I would really appreciate if anyone could help out by either answering
here or on SO.

Here is the full question text:
https://stackoverflow.com/questions/33460690/django-models-add-validation-to-custom-field

Best,
Luke

--
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/5636656C.6060401%40riseup.net.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment