Friday, May 27, 2011

Re: Overridden Admin Template Not Recognized

You'll need make sure that "django.template.loaders.filesystem.Loader" is enabled in your TEMPLATE LOADERS to use the app in the way you want.  Also, you'll need to place your app BEFORE the 'django.contrib.admin' application in the INSTALLED_APPS list.

Hope this helps,
Brian

On Thu, May 26, 2011 at 6:17 PM, Lee <lhughes30@gmail.com> wrote:
I'm trying to override the TabularInline template following the
instructions in https://docs.djangoproject.com/en/dev/ref/contrib/admin/#overriding-admin-templates.
I copied the tabular.html file to myproject/templates/admin/myapp and
made changes to it, but they have no effect. I double-checked
TEMPLATE_DIRS in settings.py and it includes the myproject/templates
directory.

Thanks for any help or ideas.

Lee

--
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 django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.




--
Brian Bouterse
ITng Services

--
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 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