mirror of
https://github.com/mediacms-io/mediacms.git
synced 2025-11-21 22:07:59 -05:00
just your typical stub
This commit is contained in:
@@ -729,4 +729,6 @@ def copy_media(media):
|
||||
def is_media_allowed_type(media):
|
||||
if "all" in settings.ALLOWED_MEDIA_UPLOAD_TYPES:
|
||||
return True
|
||||
if media.media_type == "playlist":
|
||||
return True
|
||||
return media.media_type in settings.ALLOWED_MEDIA_UPLOAD_TYPES
|
||||
|
||||
Reference in New Issue
Block a user