-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Start preparing things for Django4.0
- Loading branch information
Kevin Gutiérrez
committed
Nov 8, 2021
1 parent
31bf0a5
commit 35b0661
Showing
10 changed files
with
31 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,22 @@ | ||
from django.conf.urls import url | ||
from django.urls import path, re_path | ||
|
||
from wagtailvideos.views import chooser, multiple, videos | ||
|
||
app_name = 'wagtailvideos' | ||
urlpatterns = [ | ||
url(r'^$', videos.index, name='index'), | ||
url(r'^(\d+)/$', videos.edit, name='edit'), | ||
url(r'^(\d+)/delete/$', videos.delete, name='delete'), | ||
url(r'^(\d+)/create_transcode/$', videos.create_transcode, name='create_transcode'), | ||
path('add/', videos.add, name='add'), | ||
re_path(r'^usage/(\d+)/$', videos.usage, name='video_usage'), | ||
|
||
url(r'^add/$', videos.add, name='add'), | ||
url(r'^usage/(\d+)/$', videos.usage, name='video_usage'), | ||
path('multiple/add/', multiple.add, name='add_multiple'), | ||
re_path(r'^multiple/(\d+)/delete/$', multiple.delete, name='delete_multiple'), | ||
re_path(r'^multiple/(\d+)/$', multiple.edit, name='edit_multiple'), | ||
|
||
url(r'^multiple/add/$', multiple.add, name='add_multiple'), | ||
url(r'^multiple/(\d+)/$', multiple.edit, name='edit_multiple'), | ||
url(r'^multiple/(\d+)/delete/$', multiple.delete, name='delete_multiple'), | ||
path('chooser/upload/', chooser.chooser_upload, name='chooser_upload'), | ||
re_path(r'^chooser/(\d+)/$', chooser.video_chosen, name='video_chosen'), | ||
path('chooser/', chooser.chooser, name='chooser'), | ||
|
||
url(r'^chooser/$', chooser.chooser, name='chooser'), | ||
url(r'^chooser/(\d+)/$', chooser.video_chosen, name='video_chosen'), | ||
url(r'^chooser/upload/$', chooser.chooser_upload, name='chooser_upload'), | ||
re_path(r'^(\d+)/delete/$', videos.delete, name='delete'), | ||
re_path(r'^(\d+)/create_transcode/$', videos.create_transcode, name='create_transcode'), | ||
re_path(r'^(\d+)/$', videos.edit, name='edit'), | ||
path('', videos.index, name='index'), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters