Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F9696942
D5530.id19747.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
392 B
Subscribers
None
D5530.id19747.diff
View Options
diff --git a/swh/docs/django_settings.py b/swh/docs/django_settings.py
--- a/swh/docs/django_settings.py
+++ b/swh/docs/django_settings.py
@@ -9,5 +9,8 @@
if elt not in ns[var]:
ns[var].append(elt)
+# swh-web needs to find its static files when running autodoc
+STATIC_DIR = web.STATIC_DIR
+STATICFILES_DIRS = web.STATICFILES_DIRS
SECRET_KEY = "change me"
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Aug 17, 10:16 PM (1 w, 1 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3223441
Attached To
D5530: django_settings: Ensure swh-web can find its static files with autodoc
Event Timeline
Log In to Comment