Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

JINGO_EXCLUDE_APPS + Django admin #22

Closed
martinsvoboda opened this Issue · 2 comments

3 participants

@martinsvoboda

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.

@markandrus

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

@jsocol
Collaborator

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

@jsocol jsocol referenced this issue from a commit in jsocol/jingo
James Socol Clarify docs and add EXCLUDE_APPS default. Fix #22. d94cd63
@jsocol jsocol closed this in 6736d3b
@jgmize jgmize referenced this issue from a commit in jgmize/masterfirefoxos
@jgmize jgmize Use default settings.JINGO_EXCLUDE_APPS
See fix for jbalogh/jingo#22
bba5cad
@jgmize jgmize referenced this issue from a commit in mozilla/bedrock
@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
Something went wrong with that request. Please try again.