I wish to extend the standard admin "change_form": which is the best way 
to do it?

The specific problem I need to solve is to find a workaround to a Django 
bug (Ticket #2522). I need to keep form header, footer and submit 
buttons and store my own stuff. I found this possible solution:
1. create my own copy of "change_form.html"
2. create a block for the piece of template I wish to extend/replace
3. create a new form which inherits from the "change_form.html"

However, how do I tell to the admin engine that, for a given model, a 
form other than "change_form.html" should be used? I suspect the correct 
place to tell it is in urls.conf, but how should I change the line below 
to accomplish that?

    (r'^admin/', include('django.contrib.admin.urls')),





--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@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-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to