Cleanup Code
This commit is contained in:
parent
553590c582
commit
eaad874013
@ -25,8 +25,6 @@ urlpatterns = [
|
|||||||
path('<int:loc_pk>/account_modal/<pks>/confirm/', views.account_modal_confirm_view, name='account_modal_confirm'),
|
path('<int:loc_pk>/account_modal/<pks>/confirm/', views.account_modal_confirm_view, name='account_modal_confirm'),
|
||||||
# ex. /billard/api/v1/ (rest api)
|
# ex. /billard/api/v1/ (rest api)
|
||||||
path('api/v1/', include(router.urls)),
|
path('api/v1/', include(router.urls)),
|
||||||
# ex. /billard/process_location_data/
|
|
||||||
path('process_location_data/', views.process_location_data, name='process_location_data'),
|
|
||||||
# ex. /billard/myaccount/
|
# ex. /billard/myaccount/
|
||||||
path('my_account', views.UserUpdateView.as_view(), name='my_account'),
|
path('my_account', views.UserUpdateView.as_view(), name='my_account'),
|
||||||
]
|
]
|
||||||
|
@ -123,8 +123,3 @@ class UserUpdateView(UpdateView):
|
|||||||
|
|
||||||
def get_object(self):
|
def get_object(self):
|
||||||
return self.request.user
|
return self.request.user
|
||||||
|
|
||||||
|
|
||||||
def process_location_data(request):
|
|
||||||
process_location_data()
|
|
||||||
return HttpResponse('DONE')
|
|
||||||
|
Loading…
Reference in New Issue
Block a user