Ask Your Question

How to use Django default template loader for admin app?

asked 2012-07-21 15:49:24 -0500

theactiveactor's avatar

I'm trying to integrate django-filebrowser into my project. It comes with a set of app templates which it depends on for displaying the file browser. After integration, my file browser looks the templates have not been applied. I figured that askbot's Jinja loader may have something to do with this, but I can't find out where the interception occurs.

Is it possible to revert to Django's default loader for non-askbot apps (e.g. admin app and django-filebrowser)? Which file can I look for to make the change.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2012-07-21 17:37:03 -0500

Evgeny's avatar

If you put askbot's template loader the last in the TEMPLATE_LOADERS list in your your other django apps using standard templates should just work...

For example in my case standard django admin app works fine.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2012-07-21 15:49:24 -0500

Seen: 284 times

Last updated: Jul 21 '12