Page MenuHome

urls.py
No OneTemporary

from django.conf.urls import url
from django.contrib.auth.views import LoginView, LogoutView
from django.urls import path
from mydata import views, api_views
urlpatterns = [
url(r'^benchmarks/$', api_views.BenchmarkList.as_view()),
url(r'^$', views.index, name='index'),
path('auth/login/', LoginView.as_view(), name='login'),
path('auth/logout/', views.logout_view, name='logout'),
path('benchmarks/delete/<int:id>', views.benchmark_delete, name='delete'),
]

File Metadata

Mime Type
text/x-python
Expires
Tue, Jul 14, 11:37 AM (1 d, 23 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
7c/5a/5d5d315aea068809fcf44ec1861e

Event Timeline