from django.conf.urls import url

from . import views

app_name = 'account'
urlpatterns = [
    url(r'^$', views.IndexView.as_view(), name='index'), #first page -- index
    url(r'^accountsetting/$', views.AccSetting, name='accountsetting'), #account setting -- access from index
    url(r'^(?P<pk>[0-9]+)/$', views.DetailView.as_view(), name='detail'), #detail page -- access from index
    url(r'^(?P<account_id>[0-9]+)/download/$', views.export_csv, name='download'),
    url(r'^(?P<account_id>[0-9]+)/upload/$', views.upload_file, name='upload'),
    url(r'^(?P<account_id>[0-9]+)/addlist/$', views.addlist, name='addlist'),
    url(r'^(?P<account_id>[0-9]+)/listsuccess/$', views.listdb, name='listdb'),
    #url(r'^(?P<account_id>[0-9]+)/deletelistdb/$', views.dellistdb, name='dellistdb'),
    url(r'^(?P<pk>[0-9]+)/sellisttodel/$', views.SelDelList.as_view(), name='seldellist'),
    url(r'^(?P<account_id>[0-9]+)/sellisttodel/deletelist/$', views.dellist, name='dellist'),
    url(r'^(?P<account_id>[0-9]+)/showtotalmoney/$', views.caltotal, name='showtotal'),
]
c4738562d4e5febe5af0068b429374bf2c6f0767
<mask token>

<mask token>
app_name = 'account'
urlpatterns = [url('^$', views.IndexView.as_view(), name='index'), url(
    '^accountsetting/$', views.AccSetting, name='accountsetting'), url(
    '^(?P<pk>[0-9]+)/$', views.DetailView.as_view(), name='detail'), url(
    '^(?P<account_id>[0-9]+)/download/$', views.export_csv, name='download'
    ), url('^(?P<account_id>[0-9]+)/upload/$', views.upload_file, name=
    'upload'), url('^(?P<account_id>[0-9]+)/addlist/$', views.addlist, name
    ='addlist'), url('^(?P<account_id>[0-9]+)/listsuccess/$', views.listdb,
    name='listdb'), url('^(?P<pk>[0-9]+)/sellisttodel/$', views.SelDelList.
    as_view(), name='seldellist'), url(
    '^(?P<account_id>[0-9]+)/sellisttodel/deletelist/$', views.dellist,
    name='dellist'), url('^(?P<account_id>[0-9]+)/showtotalmoney/$', views.
    caltotal, name='showtotal')]

from django.conf.urls import url
from . import views
app_name = 'account'
urlpatterns = [url('^$', views.IndexView.as_view(), name='index'), url(
    '^accountsetting/$', views.AccSetting, name='accountsetting'), url(
    '^(?P<pk>[0-9]+)/$', views.DetailView.as_view(), name='detail'), url(
    '^(?P<account_id>[0-9]+)/download/$', views.export_csv, name='download'
    ), url('^(?P<account_id>[0-9]+)/upload/$', views.upload_file, name=
    'upload'), url('^(?P<account_id>[0-9]+)/addlist/$', views.addlist, name
    ='addlist'), url('^(?P<account_id>[0-9]+)/listsuccess/$', views.listdb,
    name='listdb'), url('^(?P<pk>[0-9]+)/sellisttodel/$', views.SelDelList.
    as_view(), name='seldellist'), url(
    '^(?P<account_id>[0-9]+)/sellisttodel/deletelist/$', views.dellist,
    name='dellist'), url('^(?P<account_id>[0-9]+)/showtotalmoney/$', views.
    caltotal, name='showtotal')]

from django.conf.urls import url

from . import views

app_name = 'account'
urlpatterns = [
    url(r'^$', views.IndexView.as_view(), name='index'), #first page -- index
    url(r'^accountsetting/$', views.AccSetting, name='accountsetting'), #account setting -- access from index
    url(r'^(?P<pk>[0-9]+)/$', views.DetailView.as_view(), name='detail'), #detail page -- access from index
    url(r'^(?P<account_id>[0-9]+)/download/$', views.export_csv, name='download'),
    url(r'^(?P<account_id>[0-9]+)/upload/$', views.upload_file, name='upload'),
    url(r'^(?P<account_id>[0-9]+)/addlist/$', views.addlist, name='addlist'),
    url(r'^(?P<account_id>[0-9]+)/listsuccess/$', views.listdb, name='listdb'),
    #url(r'^(?P<account_id>[0-9]+)/deletelistdb/$', views.dellistdb, name='dellistdb'),
    url(r'^(?P<pk>[0-9]+)/sellisttodel/$', views.SelDelList.as_view(), name='seldellist'),
    url(r'^(?P<account_id>[0-9]+)/sellisttodel/deletelist/$', views.dellist, name='dellist'),
    url(r'^(?P<account_id>[0-9]+)/showtotalmoney/$', views.caltotal, name='showtotal'),
]