This repository has been archived by the owner on Oct 9, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
43e38d9
commit 1ff834c
Showing
3 changed files
with
18 additions
and
14 deletions.
There are no files selected for viewing
1 change: 0 additions & 1 deletion
1
mediamosa_tinymce/templates/admin/mediamosa_tinymce_change_form.html
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,24 +1,24 @@ | ||
from django.conf.urls import url, patterns, include | ||
from django.conf.urls import url, include | ||
|
||
from django_mediamosa.views import PlayMediaFile | ||
|
||
from views import TinyMcePublicAssetSelectionDialog, JSONTinyMceMediafileId, TinyMcePrivateAssetSelectionDialog | ||
|
||
urlpatterns = patterns('', | ||
urlpatterns = [ | ||
|
||
# Asset browser dialog | ||
url(r'^/assets/$', TinyMcePublicAssetSelectionDialog.as_view(), | ||
url(r'^assets/$', TinyMcePublicAssetSelectionDialog.as_view(), | ||
name='tinymce-mmasset-select-dialog'), | ||
|
||
url(r'^/assets/my/$', TinyMcePrivateAssetSelectionDialog.as_view(), | ||
url(r'^assets/my/$', TinyMcePrivateAssetSelectionDialog.as_view(), | ||
name='tinymce-mmasset-personal-select-dialog'), | ||
|
||
# JSON call to request mediafile_id | ||
url(r'^/asset\.json$', JSONTinyMceMediafileId.as_view(), | ||
url(r'^asset\.json$', JSONTinyMceMediafileId.as_view(), | ||
name='tinymce-json-mediafile-query'), | ||
|
||
# Asset player | ||
|
||
url(r'^/mediamosa', include('django_mediamosa.urls')), | ||
url(r'^mediamosa', include('django_mediamosa.urls')), | ||
|
||
) | ||
] |