Ask Your Question
1

How to use Django default template loader for admin app?

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

theactiveactor gravatar image theactiveactor
147 7 2 6

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.

delete close flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted
0

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

Evgeny gravatar image Evgeny flag of Chile
11009 50 84 182
http://askbot.org/

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

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

link publish delete flag offensive edit

Your answer

Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Reliable Askbot Hosting

Create your Q&A site at askbot.com. Managed Askbot hosting at just $15/mo. Dedicated hosting, support contracts, consulting services.

create your Q&A site
30 days free trial

Question tools

Follow

subscribe to rss feed

Stats

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

Seen: 58 times

Last updated: Jul 21 '12