I am a total noob in Django, so it might seem I may miss something obvious.
I am using django userena app. Following official documentationv I include userena urls like this
from django.conf.urls import patterns, include, url
from django.contrib import admin
urlpatterns = patterns('',
# Examples:
url(r'^accounts/', include('userena.urls')),
url(r'^admin/', include(admin.site.urls)),
url(r'^$', 'mysite.views.home', name='home'),
# url(r'^blog/', include('blog.urls')),
)
And when I try to use some URL in my template they load correctly, but don't work.
<div class="search_button" type="submit">
Find
</div>
<div href="{% url 'userena_signin' %}" class="enter">
Sign in
</div>
<div href="{% url 'userena_signup' %}" class="enter">
Sign up
</div>
When i load the page I can see correct URL
<div href="/accounts/signin/" class="enter">
Sign in
</div>
<div href="/accounts/signup/" class="enter">
Sign up
</div>
but pushing the button doesn't lead to neither sign in page, nor sign up. What did I miss?