Closed abompard closed 9 years ago
(OK I just went and made a pull request, it's not like is hard to do anyway ;-) )
Oh, I just realized there are no unit tests covering the template tags, but I tried my changes in my application and the login & logout worked fine.
So the only people who will suffer are people on Django<=1.3
?
So the only people who will suffer are people on Django<=1.3?
Sounds like it. We don't support those people anyway. How dare they!
The fancy_tag library is not compatible with Django 1.8 as is. I opened a ticket with a patch on their tracker, but the last commit being two and a half years ago, I fear it isn't maintained. The good news is: django-browserid doesn't actually need it! To my understanding, fancy_tag was only used to get named keywords in template tags, but this feature is supported by Django since version 1.4, which is also django-browserid's current requirement: https://docs.djangoproject.com/en/1.4/releases/1.4/#args-and-kwargs-support-for-template-tag-helper-functions
Here's the patch to remove fancy_tag. I only have python 2.7 and 3.4 on my system so I could only test the tox environment with those versions of Python, but all tests passed with any version of Django.
If you prefer a pull request, I can do that.