JINGO_EXCLUDE_APPS + Django admin #22

Closed
martinsvoboda opened this Issue Apr 20, 2012 · 2 comments

Projects

None yet

3 participants

Hello,
there is subtle issue with using django admin and jingo. I add to my config:

JINGO_EXCLUDE_APPS = (
    'admin',
)

core of administration works, but if I want change password or logout server returns HTTP 500 because template was rendered by jinja2. I investigate it and working solution is set:

JINGO_EXCLUDE_APPS = (
    'admin',
    'registration',
)

But this is confusing registration isn't app, its one of template's dirs in django admin app. JINGO_EXCLUDE_APPS actually didn't work on app level, but only on template path level. Should be nice rename config variable or mention this behaviour in readme.

I recently noticed this, too. Any updates on this?

Collaborator
jsocol commented Nov 9, 2012

I'll add this to the README when I look at #20.

@jsocol jsocol pushed a commit to jsocol/jingo that referenced this issue Nov 9, 2012
James Socol Clarify docs and add EXCLUDE_APPS default. Fix #22. d94cd63
@jsocol jsocol closed this in 6736d3b Nov 9, 2012
@jgmize jgmize added a commit to jgmize/masterfirefoxos that referenced this issue Dec 22, 2014
@jgmize jgmize Use default settings.JINGO_EXCLUDE_APPS
See fix for jbalogh/jingo#22
bba5cad
@jgmize jgmize added a commit to mozilla/bedrock that referenced this issue Dec 22, 2014
@jgmize jgmize Add registration to JINGO_EXCLUDE_APPS 9c1938a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment