Cleanup Code

This commit is contained in:
Robert Einsle 2018-03-31 16:13:38 +02:00
parent 553590c582
commit eaad874013
2 changed files with 0 additions and 7 deletions

View File

@ -25,8 +25,6 @@ urlpatterns = [
path('<int:loc_pk>/account_modal/<pks>/confirm/', views.account_modal_confirm_view, name='account_modal_confirm'),
# ex. /billard/api/v1/ (rest api)
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/
path('my_account', views.UserUpdateView.as_view(), name='my_account'),
]

View File

@ -123,8 +123,3 @@ class UserUpdateView(UpdateView):
def get_object(self):
return self.request.user
def process_location_data(request):
process_location_data()
return HttpResponse('DONE')