0
votes
0
comments
1,699
views

django-allauth basic setup

  • 0.00 / 5 5
0 votes, 0.00 avg. rating (0% score)
I tried to follow the latest http://django-allauth.readthedocs.org/en/latest/#installation urls.py file looks like: urlpatterns = patterns('', url(r'^admin/', include(admin.site.urls)), url(r'^accounts/', include('allauth.urls')), ) settings.py file has: and i ran python manage.py syncdb but when i visit my localhost:8000/accounts/login/, it gives me Page Not Found (404). I also double checked what I did with a tutorial at: http://www.sarahhagstrom.com/2013/09/the-missing-django-allauth-tutorial/ but I’m […]
0
votes
0
comments
661
views

Passing variable urlname to url tag in django template

  • 0.00 / 5 5
0 votes, 0.00 avg. rating (0% score)
What I’d like to do (for a recent changes ‘widget’ – not a django widget in this case) is pass a urlname into my template as a variable, then use it like so: {% url sitechangeobject.urlname %} Where urlname is a string containing a valid name for a url. Is this possible? The template keeps […]