-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Trying minimal Django settings for hopefully fewer docs requirements
- Loading branch information
1 parent
d7ed5d3
commit 403a230
Showing
1 changed file
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
""" | ||
Minimal file so Sphinx can work with Django for autodocumenting. | ||
Location: /docs/django_settings.py | ||
""" | ||
|
||
# SECRET_KEY for the documentation | ||
SECRET_KEY = 'docs-super-secret' | ||
|
||
# INSTALLED_APPS with these apps is necessary for Sphinx to build without warnings & errors | ||
# Depending on your package, the list of apps may be different | ||
INSTALLED_APPS = [ | ||
"django.contrib.admin", | ||
"django.contrib.auth", | ||
"django.contrib.contenttypes", | ||
"django.contrib.sessions", | ||
"django.contrib.messages", | ||
"django.contrib.staticfiles", | ||
# custom apps: | ||
"apps.deed", | ||
"apps.parcel", | ||
"apps.plat", | ||
"apps.zoon", | ||
] |