1

How to use Django default template loader for admin app?
 

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.

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
theactiveactor's avatar
167
theactiveactor
asked 12 years ago

Comments

see more comments

1 Answer

0

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.

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
Evgeny's avatar
13.2k
Evgeny
answered 12 years ago
link

Comments

see more comments