Skip to content

[py3] fixed __proxy__.decode doesn't exists #281

Closed
wants to merge 1 commit into from

2 participants

@Natim
Natim commented Aug 17, 2012

fixed proxy.decode doesn't exists on django/contrib/auth/decorators.py

@aaugustin aaugustin closed this Aug 17, 2012
@aaugustin
Django member

GitHub seems to have lost my comment :( Here is it again.

I'd prefer to fix the root cause rather than this specific symptom, as explained in this ticket:
https://code.djangoproject.com/ticket/18776
The conditional on six.PY3 is needlessly complex, six.text_type just does the job.

If we chose this path, in fact, we'd probably just slap force_text around login_url.

@Natim
Natim commented Aug 17, 2012

Yes

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.