Hello,
in my App I would like some Models to accept some custom Meta options like this:
class MyModel(models.Model)
name = models.CharField(...)
other = models.CharField(...)
more = models.CharField(...)
class Meta:
db_table = "my_table"
custom_option = True
It would be quite easy to accomplish this by paching the django
source. However I'd prefere to do
this by subclassing.
How to do this?
Best regards
Roman Klesel
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en.