from django.conf.urls import url
from account import views

app_name = 'account'

urlpatterns = [
    url(r'^signup', views.signup, name='signup'),
    url(r'^user_logout', views.user_logout, name='user_logout'),
    url(r'^user_login', views.user_login, name='user_login'),
    url(r'^(?P<pk>\d+)/$', views.AccountDetailView.as_view(), name='detail'),
    url(r'^update/(?P<pk>\d+)/$', views.AccountUpdateView.as_view(), name='update'),
    url(r'^active_bets', views.active_bets, name='active_bets'),
]