Page MenuHome

urls.py
No OneTemporary

File Metadata

Created
Tue, Nov 12, 5:34 AM
from django.conf.urls import url
from django.contrib.auth.views import LoginView
from django.urls import path, include
from mydata import views, api_views
urlpatterns = [
url('', include('social_django.urls', namespace='social')),
url(r'^benchmarks/$', api_views.BenchmarkSubmit.as_view()),
path('benchmarks/delete/<int:id>', views.benchmark_delete, name='delete'),
url(r'^$', views.index, name='index'),
path('auth/login/', LoginView.as_view(), name='login'),
path('auth/logout/', views.logout_view, name='logout'),
]

Event Timeline