I think you should be able to customize it by simply defining a
response_add method in the corresponding class of your admin.py
class MyAdmin(admin.ModelAdmin):
as your admin interface is derived from ModelAdmin and response_add is
defined in it by creating
def response_add(self, request, obj, post_url_continue='../%s/'):
you should be able to get your custom message (and response handling).
According to the code the same should hold for response_change
V
On Aug 29, 3:56 pm, "Karen Tracey" <[EMAIL PROTECTED]> wrote:
> On Fri, Aug 29, 2008 at 9:47 AM, truebosko <[EMAIL PROTECTED]> wrote:
>
> > Basically lets you over-ride templates. Maybe that message is simply
> > part of a template, not sure .. but hopefully that helps.
>
> No, these messages are not part of the templates. You can see where they
> are built in the code here:
>
> http://code.djangoproject.com/browser/django/trunk/django/contrib/adm...
>
> for example. Beyond changing the translation I don't see how they could
> currently be customized.
>
> Karen
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---