You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

settings.py 201 B

12345
  1. from django.conf import settings
  2. IMAGE_PATH = getattr(settings, 'IMAGE_PATH', None)
  3. IMAGE_SIZES = getattr(settings, 'IMAGE_SIZES', {})
  4. IMAGE_AUTO_DELETE = getattr(settings, 'IMAGE_AUTO_DELETE', True)