#15953: Allow setting individual fields as 'unique' from the model Meta options -------------------------------------+------------------------------------- Reporter: julien | Owner: nobody Type: New | Status: new feature | Component: Database layer Milestone: | (models, ORM) Version: 1.3 | Severity: Normal Resolution: | Keywords: Triage Stage: | Has patch: 0 Unreviewed | Needs tests: 0 Needs documentation: 0 | Easy pickings: 0 Patch needs improvement: 0 | -------------------------------------+-------------------------------------
Comment (by julien): Replying to [comment:3 jezdez]: > Wouldn't overriding the `blah` field in class B solve the issue? Unfortunately not -- you get the following error: {{{ django.core.exceptions.FieldError: Local field 'blah' in class 'B' clashes with field of similar name from base class 'A' }}} -- Ticket URL: <http://code.djangoproject.com/ticket/15953#comment:4> Django <http://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-updates@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.