mirror of
https://github.com/jazzband/django-categories.git
synced 2026-04-06 16:21:03 +00:00
9 lines
415 B
Python
9 lines
415 B
Python
from django.conf import settings
|
|
import django
|
|
|
|
DJANGO10_COMPAT = django.VERSION[0] < 1 or (django.VERSION[0] == 1 and django.VERSION[1] < 1)
|
|
|
|
MEDIA_PATH = getattr(settings, 'EDITOR_MEDIA_PATH', '/media/editor/')
|
|
STATIC_URL = getattr(settings, 'STATIC_URL', settings.MEDIA_URL)
|
|
# Link to google APIs instead of using local copy of JS libraries
|
|
MEDIA_HOTLINKING = getattr(settings, 'EDITOR_MEDIA_HOTLINKING', False)
|