I have released a package called django_options on the Cheeseshop at

http://cheeseshop.python.org/pypi/django_options/r6

It is a class called MetaOptions that enables decoration of Django models 
with meta classes in similar style to Admin and Meta. Options placed
there show up in Model._meta.classname.attribute and overriding the
contribute_to_class method of MetaOptions is a useful place to populate
other attributes on models in the case that straightforward fields are
not appropriate or possible.

Included is an example usage to enable CSV export of any set of models
with an example urls.py entry that will add such functionality to the
Admin. It should be noted that this is a specific example, and perhaps
not the best example, of the usage of a much more general interface.

The package installs into django.contrib.options

Any feedback or suggestions are welcome.

Cheers,
-w

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to django-developers@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to