let me give you some more details about what I've tried

first I've copied over the change_form.html template under my
templates/admin/app/model/change_form.hml

as expected django loads this template file

then I would like to include my own templatetags into it, so I've
added it in the {% load ... line, and I get a TemplateSyntaxError:
'eke_admin_modify' is not a valid tag library: Could not load template
library from django.templatetags.eke_admin_modify, No module named
eke_admin_modify

but eke_admin_modify.py resides in app/templatetags

is there anything I'm doing wrong?

V

On Aug 27, 11:56 pm, V <[EMAIL PROTECTED]> wrote:
> Hi!
>
> I am writing my first custom admin page where I would like to add an
> extra button (action). I think the easiest would be if I could simply
> overwrite the submit_row templatetag or just the template it calls
> (submit_line.html) defined in contrib.admin.templatetags.admin_modify
>
> is there a simple way to do this?
>
> I've tried to create a custom submit_line.html under my templates/
> admin/application/model directory, but (unlike for the "main" admin
> templates) this didn't work
>
> have a nice day!
> V
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to