Skip to content

Commit f420c29

Browse files
committed
Fix typo in urlpattern
1 parent 63a5454 commit f420c29

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## 0.1.2 - 2017-03-10
4+
5+
* Fix urlpattern error that prevent user id's with more than one digit matching
6+
37
## 0.1.1 - 2017-02-18
48

59
* Fixed packaging issue

runas/urls.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44

55
app_name = 'runas'
66
urlpatterns = [
7-
url('^enter/(?P<user_id>[\d+])$', runas_enter, name='enter'),
7+
url('^enter/(?P<user_id>\d+)$', runas_enter, name='enter'),
88
url('^exit$', runas_exit, name='exit'),
99
]

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
setup(
44
name='django-runas',
5-
version='0.1.0',
5+
version='0.1.2',
66
license='BSD',
77
author='Sam Kingston',
88
author_email='sam@sjkwi.com.au',

0 commit comments

Comments
 (0)