mirror of
https://github.com/Hopiu/django-embed-video.git
synced 2026-03-17 05:40:24 +00:00
39 lines
790 B
Python
39 lines
790 B
Python
import os
|
|
|
|
from django.conf.global_settings import *
|
|
|
|
DEBUG = True
|
|
SECRET_KEY = 'testing_key123'
|
|
|
|
STATIC_ROOT = MEDIA_ROOT = os.path.join(os.path.dirname(__file__), 'static')
|
|
STATIC_URL = MEDIA_URL = '/static/'
|
|
|
|
INSTALLED_APPS = (
|
|
'embed_video',
|
|
)
|
|
|
|
|
|
EMBED_VIDEO_BACKENDS = (
|
|
'embed_video.backends.YoutubeBackend',
|
|
'embed_video.backends.VimeoBackend',
|
|
'embed_video.backends.SoundCloudBackend',
|
|
'embed_video.tests.custom_backend.CustomBackend',
|
|
)
|
|
|
|
|
|
LOGGING = {
|
|
'version': 1,
|
|
'disable_existing_loggers': False,
|
|
'handlers': {
|
|
'console': {
|
|
'level': 'DEBUG',
|
|
'class': 'logging.StreamHandler',
|
|
},
|
|
},
|
|
'loggers': {
|
|
'less': {
|
|
'handlers': ['console'],
|
|
'level': 'DEBUG',
|
|
},
|
|
}
|
|
}
|