Page MenuHome

urls.py
No OneTemporary

from django.conf.urls import url
from django.contrib.auth.views import LoginView
from django.urls import path, include
from web import views, api_views
urlpatterns = [
url('', include('social_django.urls', namespace='social')),
url(r'^$', views.index, name='index'),
path('benchmarks/delete/<int:id>', views.benchmark_delete, name='delete'),
path('auth/login/', LoginView.as_view(), name='login'),
path('auth/logout/', views.logout_view, name='logout'),
url(r'^api/benchmarks/$', api_views.BenchmarkSubmit.as_view()),
url(r'^api/token/$', api_views.token_view),
]

File Metadata

Mime Type
text/x-python
Expires
Sat, Aug 15, 11:46 AM (1 d, 23 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
ea/7f/bd3d94f5781cb91c46b0061a0a3d

Event Timeline