Commit 04735c58 authored by ∞'s avatar 💻

Flake8

parent 09cbfc15
......@@ -347,7 +347,10 @@ USE_TZ = True
# https://docs.djangoproject.com/en/1.9/howto/static-files/
STATIC_URL = os.getenv('STATIC_URL', '/static/')
STATIC_ROOT = os.getenv('STATIC_ROOT', Path(os.path.dirname(__file__)) / 'static')
STATIC_ROOT = os.getenv(
'STATIC_ROOT',
Path(os.path.dirname(__file__)) / 'static'
)
UWSGI_SPOOLER_MOUNT = os.getenv('UWSGI_SPOOLER_MOUNT')
UWSGI_SPOOLER_NAMES = os.getenv('UWSGI_SPOOLER_NAMES', '').split(',')
......
import re
from crudlfap import shortcuts as crudlfap
from django.conf import settings
......@@ -17,5 +15,5 @@ urlpatterns = [
if 'debug_toolbar' in settings.INSTALLED_APPS and settings.DEBUG:
import debug_toolbar
urlpatterns += [
url(r'^__debug__/', include(debug_toolbar.urls)),
re_path(r'^__debug__/', include(debug_toolbar.urls)),
]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment