Roy Smith
Roy Smith

Reputation: 2159

How does social-auth-app-django work with jinja2?

I'm using:

I'm considering moving from django templates to jinja2. Most of it makes sense, but it's not clear how the social-auth part would work. In my settings for the DjangoTemplates backend, I've got:

            'social_django.context_processors.backends',
            'social_django.context_processors.login_redirect',

but the django docs say, "Using context processors with Jinja2 templates is discouraged." So, are these context managers not needed with jinja?

Upvotes: 0

Views: 63

Answers (1)

Roy Smith
Roy Smith

Reputation: 2159

Never mind, I figured this out. The answer is that I'm only converting my app to jinja. Other apps I use (such as social-auth-app-django) can continue to use their existing templates. Doh.

Upvotes: -1

Related Questions