summaryrefslogtreecommitdiff
path: root/app/expenses/urls.py
blob: 6ad732e94aa6da90be2194782a71b9ab001100ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
from django.conf.urls import url
from . import views

app_name = "expenses"

urlpatterns = [
    #url(
    #    r'(?P<slug>[-\w]+)$',
    #    views.ExpenseListView.as_view(),
    #    name='list_expense'
    #),
    url(
        r'(?P<slug>[-\w]+)$',
        views.LuxExpenseListView.as_view(),
        name='list_expense'
    ),
    url(
        r'^$',
        views.TripListView.as_view(),
        name='list_trip'
    )
]