Broutilles stretch

This commit is contained in:
Gabriel Detraz 2017-06-23 20:09:50 +02:00 committed by root
parent c75d6955f6
commit 037b79c74e
3 changed files with 3 additions and 2 deletions

View File

@ -50,7 +50,7 @@ PASSWORD_HASHERS = (
) )
AUTH_USER_MODEL = 'users.User' AUTH_USER_MODEL = 'users.User'
LOGIN_URL = '/login' LOGIN_URL = '/login/'
LOGIN_REDIRECT_URL = '/' LOGIN_REDIRECT_URL = '/'

View File

@ -34,7 +34,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
{% bootstrap_css %} {% bootstrap_css %}
{% bootstrap_javascript %} {% bootstrap_javascript %}
<link rel="stylesheet" href="{% static "/static/css/base.css" %}"> <link rel="stylesheet" href="{% static "/css/base.css" %}">
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<title>{{ site_name }} : {% block title %}Accueil{% endblock %}</title> <title>{{ site_name }} : {% block title %}Accueil{% endblock %}</title>
</head> </head>

View File

@ -24,6 +24,7 @@ from django.conf.urls import url
from . import views from . import views
app_name = 'users'
urlpatterns = [ urlpatterns = [
url(r'^new_user/$', views.new_user, name='new-user'), url(r'^new_user/$', views.new_user, name='new-user'),
url(r'^capture/$', views.capture, name='capture'), url(r'^capture/$', views.capture, name='capture'),