Commit 96632277 authored by ∞'s avatar 💻

Enforce static file serve in crudlfap_example

And help reduce demo effects xD
parent 96e66968
import re
from crudlfap import shortcuts as crudlfap
from django.conf import settings
from django.conf.urls import include, url
urlpatterns = []
from django.urls import include, re_path
from django.views.static import serve
urlpatterns = [,
r'^%s(?P<path>.*)$' % settings.STATIC_URL.lstrip('/'),
if 'debug_toolbar' in settings.INSTALLED_APPS and settings.DEBUG:
import debug_toolbar
urlpatterns += [
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