diff options
author | luxagraf <sng@luxagraf.net> | 2015-12-02 13:03:21 -0500 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2015-12-02 13:03:21 -0500 |
commit | 741cea88d882d8ac185121141ef49815835ad8a7 (patch) | |
tree | e465898ca5ba46cc61a191f93f9f71a1fdd7a65d /app/expenses | |
parent | 988f1149eedf8de5c6b083370c736a82b53b48ac (diff) |
updated url schemes to quiet some django 1.10 warnings
Diffstat (limited to 'app/expenses')
-rw-r--r-- | app/expenses/urls.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/app/expenses/urls.py b/app/expenses/urls.py index a2cf35a..698ac07 100644 --- a/app/expenses/urls.py +++ b/app/expenses/urls.py @@ -4,13 +4,13 @@ from . import views urlpatterns = [ url( - regex=r'(?P<slug>[-\w]+)$', - view=views.ExpenseListView.as_view(), + r'(?P<slug>[-\w]+)$', + views.ExpenseListView.as_view(), name='list_expense' ), url( - regex=r'^$', - view=views.TripListView.as_view(), + r'^$', + views.TripListView.as_view(), name='list_trip' ) ] |