Correct precedence
This commit is contained in:
parent
8a6984ef48
commit
f09a64c26e
|
@ -4,9 +4,8 @@ from django.views.decorators.cache import cache_page
|
|||
from . import views
|
||||
|
||||
urlpatterns = [
|
||||
# Pages
|
||||
# Index Page
|
||||
path('', cache_page(60)(views.index), name='index'),
|
||||
path('repo/<str:repo_label>', cache_page(60)(views.repo), name='repo'),
|
||||
|
||||
path('repo-list.json', cache_page(60)(views.repo_list_json), name='repo list'),
|
||||
|
||||
|
@ -19,6 +18,9 @@ urlpatterns = [
|
|||
path('repo/<str:repo_label>/recent-errors.json', cache_page(60)(views.repo_recent_errors_json),
|
||||
name='repo recent errors json'),
|
||||
|
||||
# Repo page
|
||||
path('repo/<str:repo_label>', cache_page(60)(views.repo), name='repo'),
|
||||
|
||||
# POST
|
||||
path('post/repo', views.post_repo, name='post repo'),
|
||||
path('post/archive', views.post_archive, name='post archive'),
|
||||
|
|
Loading…
Reference in New Issue
Block a user