I need to override the setter behavior of all the fields in all my models. They all subclass from the same abstract model.
Specifically if the fields already contains a special character (used to indicate "Not Applicable") I don' want to allow it to be changed. The same field will be applicable in some types of records but not in others. The updates come from an external backend http query that I use to get data from a legacy system. That legacy system does not know if a field is applicable or not. I've got about 25 tables and a total of 500 fields. I would like to build this feature into the abstract model and not have to not have custome code for each field update.. I would like to override the "setter" method in my abstract model, but cannot seem to get that to work, tried numerous variants. I am a Django newbie, but I've spent a day with the docs, books and google with no success. Can someone point me to a snippet or a coherent example/explanation on how to do this. I'm using Django 1.2 with Python 2.4. Thanks, Fred Sells -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.