1
- from django .conf .urls import include , url
1
+ from django .conf .urls import url
2
2
3
3
from barsystem .gui import views
4
4
5
+
5
6
urlpatterns = [
6
- url (r'^people/$' , views .PeopleView .as_view (), name = 'people' ),
7
- url (r'^people/set/(?P<person_id>\d+)/$' , views .PeopleSetView .as_view (), name = 'people_set' ),
8
- url (r'^cart/add/' , views .AddToCartView .as_view (), name = 'add_to_cart' ),
9
- url (r'^products/$' , views .ProductsView .as_view (), name = 'products' ),
10
- url (r'^products/get/$' , views .ProductsGetView .as_view (), name = 'products_get' ),
11
- url (r'^products/confirm/$' , views .ProductsConfirmView .as_view (), name = 'products_confirm' ),
12
- url (r'^transactions/$' , views .TransactionsView .as_view (), name = 'transactions' ),
13
- url (r'^create_account/$' , views .CreateAccountView .as_view (), name = 'create_account' ),
14
- url (r'^delete_account/$' , views .DeleteAccountView .as_view (), name = 'delete_account' ),
15
- url (r'^$' , views .IndexView .as_view (), name = 'index' ),
16
- ]
7
+ url (r'^people/$' , views .PeopleView .as_view (), name = 'people' ),
8
+ url (r'^people/set/(?P<person_id>\d+)/$' , views .PeopleSetView .as_view (), name = 'people_set' ),
9
+ url (r'^cart/add/' , views .AddToCartView .as_view (), name = 'add_to_cart' ),
10
+ url (r'^products/$' , views .ProductsView .as_view (), name = 'products' ),
11
+ url (r'^products/get/$' , views .ProductsGetView .as_view (), name = 'products_get' ),
12
+ url (r'^products/confirm/$' , views .ProductsConfirmView .as_view (), name = 'products_confirm' ),
13
+ url (r'^transactions/$' , views .TransactionsView .as_view (), name = 'transactions' ),
14
+ url (r'^create_account/$' , views .CreateAccountView .as_view (), name = 'create_account' ),
15
+ url (r'^delete_account/$' , views .DeleteAccountView .as_view (), name = 'delete_account' ),
16
+ url (r'^$' , views .IndexView .as_view (), name = 'index' ),
17
+ ]
0 commit comments