[Bug 1444080] Re: 'browserid' is not a valid tag library: ImportError raised loading django_browserid.templatetags.browserid: cannot import name generic_tag_compiler
Zack Piper
zack.piper123 at gmail.com
Sun Apr 26 21:18:51 CEST 2015
That works, thanks!
On 25 April 2015 10:49:19 BST, Pavan Koli <pskoli93 at gmail.com> wrote:
>I am not sure but the issue seems to be related with Django 1.8, I
>found a way around it by installing Django 1.7.7, just go to
>postorius/setup.py
>Line 42 replace 'django>=1.6' with 'django<1.8'.
>Then go to terminal and cd to postorius folder and type
>python setup.py develop
>Hopefully this should resolve the issue.
>
>--
>You received this bug notification because you are subscribed to the
>bug
>report.
>https://bugs.launchpad.net/bugs/1444080
>
>Title:
> 'browserid' is not a valid tag library: ImportError raised loading
> django_browserid.templatetags.browserid: cannot import name
> generic_tag_compiler
>
>Status in The New Mailman Web UI:
> New
>
>Bug description:
> I get this error when trying to navigate to the login page
> (http://lists.apertron.net/archives/accounts/login/?next=/archives/)
>
> Full stacktrace can be found at: http://lists.apertron.net
>
> I have located the browserid file, here is the contents:
>
> ```
> from django import template
>
> from django_browserid import helpers
>
>
> register = template.Library()
>
>
> @register.simple_tag
> def browserid_info(**kwargs):
> return helpers.browserid_info(**kwargs)
>
>
> @register.simple_tag
> def browserid_login(**kwargs):
> return helpers.browserid_login(**kwargs)
>
>
> @register.simple_tag
> def browserid_logout(**kwargs):
> return helpers.browserid_logout(**kwargs)
>
>
> @register.simple_tag
> def browserid_js(**kwargs):
> return helpers.browserid_js(**kwargs)
>
> @register.simple_tag
> def browserid_css(**kwargs):
> return helpers.browserid_css(**kwargs)
>
> ```
>
> Sorry if this is in the wrong place.
>
> Thanks!
>
>To manage notifications about this bug go to:
>https://bugs.launchpad.net/postorius/+bug/1444080/+subscriptions
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
--
You received this bug notification because you are a member of Mailman
Coders, which is subscribed to Postorius.
https://bugs.launchpad.net/bugs/1444080
Title:
'browserid' is not a valid tag library: ImportError raised loading
django_browserid.templatetags.browserid: cannot import name
generic_tag_compiler
To manage notifications about this bug go to:
https://bugs.launchpad.net/postorius/+bug/1444080/+subscriptions
More information about the Mailman-coders
mailing list