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


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