from django.urls import path
from bsf_app.views import *


urlpatterns = [
	path('', login_view, name="login_view"),
    path('user/logout', logout, name="logout"),
	path('get/captche/<str:captch>/', captche_image, name="captche_image"),
    path('user/rules/', rules, name="rules"),
    path('user/dashboard/', home, name="home"),
    path('user/dashboard/schedule/', schedule, name="schedule"),
    path('user/dashboard/ledger/', ledger, name="ledger"),
    path('user/dashboard/ledger/<str:ledger_id>/', ledger_team, name="ledger_team"),
    path('user/market_detail/<str:match_id>/', market_detail, name="market_detail"),
    path('user/change-password/', change_password, name="change_password"),
    path('user/upcoming/', upcoming, name="upcoming"),
    path('user/matches/', inplay, name="inplay"),
    path('user/sign-in/', signin_view, name="signin"),
    path('user/settings/', settings_view, name="settings"),
    path('user/tournament/', tournament, name="tournament"),
    path('user/games/', games, name="games"),
    path('user/place-bet/', create_bet, name="create_bet"),
    path('update_market/', update_market, name="update_market"),
    path('teen_patti-t20/', teen_patti_t20, name="teen_patti_t20"),

    path('admin-view/', admin_view, name="admin_view"),
    path('update-users-bets', update_bet_records, name="update_bet_records"),
    path('get/user-coins', get_user_coins, name="get_user_coins"),
    path('get/filter/bet-records', get_filter_bet_records, name="get_filter_bet_records"),
    path('update-scoe/', get_update_score, name="update_score"),
    path('user/matches/saveNewMatchData/', saveNewMatchData,name='saveNewMatchData'),
    path('saveNewMatchData/', saveNewMatchData,name='saveNewMatchData'),
    path('user/market_detail/<str:match_id>/saveMatchScore/', saveMatchScore,name="saveMatchScore"),
    path('user/market_detail/<str:match_id>/saveBettingDetails/', saveBettingDetails,name="saveMatchScore"),
    path('user/market_detail/<str:match_id>/saveLaghaiKhaiDetails/', saveLaghaiKhaiDetails,name="saveLaghaiKhaiDetails"),
    path('user/market_detail/<str:match_id>/ajaxAutoValidator/', ajaxAutoValidator,name="ajaxAutoValidator"),
     path('admin-view/ajaxAutoValidator/', ajaxAutoValidator2,name="ajaxAutoValidator2")
]
