Commit 53ea6952 authored by Bruno Renié's avatar Bruno Renié
Browse files

Update code for django 1.8

parent 05c79124
language: python
python: "3.4"
sudo: false
cache: pip
env:
- TOXENV=py26-django14
- TOXENV=py26-django15
......
from django.conf.urls import url, patterns
from django.conf.urls import url
from . import views
urlpatterns = patterns(
'',
urlpatterns = [
url(r'^recover/(?P<signature>.+)/$', views.recover_done,
name='password_reset_sent'),
url(r'^recover/$', views.recover, name='password_reset_recover'),
url(r'^reset/done/$', views.reset_done, name='password_reset_done'),
url(r'^reset/(?P<token>[\w:-]+)/$', views.reset,
name='password_reset_reset'),
)
]
......@@ -6,7 +6,7 @@ envlist =
docs, lint
[testenv]
commands = python setup.py test
commands = python -Wall setup.py test
basepython =
py26: python2.6
py27: python2.7
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment