from .base import * # noqa DEBUG = True INTERNAL_IPS = ["127.0.0.1"] # Use plain static file storage in dev — CompressedManifestStaticFilesStorage # (set in base.py) requires collectstatic to have been run and will 404 on # every asset otherwise. STATICFILES_STORAGE = "django.contrib.staticfiles.storage.StaticFilesStorage" try: import debug_toolbar # noqa: F401 INSTALLED_APPS += ["debug_toolbar"] MIDDLEWARE = ["debug_toolbar.middleware.DebugToolbarMiddleware", *MIDDLEWARE] except Exception: pass