That's what happens when I don't read the documentation until the end.
Found this in django documentation:
"""
Templates which may be overridden per app or model¶
Not every template in contrib\admin\templates\admin may be overridden
per app or per model. The following can:
* change_form.html
* change_list.html
* delete_confirmation.html
* object_history.html
"""
-- BMS
On Oct 8, 2:08 pm, bmsilva <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I tried to change submit_line.html in the admin interface for a
> particular model without success.
>
> /myproj/templates/admin/submit_line.html --> works
> /myproj/templates/admin/myapp/submit_line.html --> nothing happens
> /myproj/templates/admin/myapp/mymodel/submit_line.html --> nothing
> happens
>
> The I'm really clueless here, can someone give me a tip ?
>
> settings.py
> ========
> [...]
> TEMPLATE_LOADERS = (
> 'django.template.loaders.filesystem.load_template_source',
> 'django.template.loaders.app_directories.load_template_source',
> # 'django.template.loaders.eggs.load_template_source',
> )
> [...]
> TEMPLATE_DIRS = (
> '/myproj/templates',
> )
> [..]
>
> -- BMS
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---