The class AdminSite has a method register, which adds a model, on which the site builds itself. So each plugin can register its own admin stuff in a admin module.
Your task is to write your own class that registers plugins and to make a global instance of it.
Am Mittwoch, 19. Januar 2011 15:38:07 UTC+1 schrieb Shawn Milochik:
You can just subclass the form or modelform.--Shawn
You received this message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/tkvtGsvvXm8J.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
No comments:
Post a Comment