Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Marinello
django-password-reset
Commits
53ea6952
Commit
53ea6952
authored
Sep 28, 2015
by
Bruno Renié
Browse files
Update code for django 1.8
parent
05c79124
Changes
3
Hide whitespace changes
Inline
Side-by-side
.travis.yml
View file @
53ea6952
language
:
python
python
:
"
3.4"
sudo
:
false
cache
:
pip
env
:
-
TOXENV=py26-django14
-
TOXENV=py26-django15
...
...
password_reset/urls.py
View file @
53ea6952
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'
),
)
]
tox.ini
View file @
53ea6952
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment