1
Fork 0
mirror of https://github.com/Steffo99/sophon.git synced 2024-12-22 23:04:21 +00:00

🔨 Fix Django run configuration

This commit is contained in:
Steffo 2021-04-06 23:08:52 +02:00
parent dfdeb402e5
commit 004c6c9be4
Signed by: steffo
GPG key ID: 6965406171929D01
2 changed files with 5 additions and 5 deletions

View file

@ -5,7 +5,7 @@
<option name="PARENT_ENVS" value="true" /> <option name="PARENT_ENVS" value="true" />
<envs> <envs>
<env name="PYTHONUNBUFFERED" value="1" /> <env name="PYTHONUNBUFFERED" value="1" />
<env name="DJANGO_SETTINGS_MODULE" value="settings" /> <env name="DJANGO_SETTINGS_MODULE" value="sophon.settings" />
<env name="DJANGO_SECRET_KEY" value="change-me-in-production" /> <env name="DJANGO_SECRET_KEY" value="change-me-in-production" />
<env name="DJANGO_DEBUG" value="1" /> <env name="DJANGO_DEBUG" value="1" />
</envs> </envs>

View file

@ -3,10 +3,10 @@
<component name="FacetManager"> <component name="FacetManager">
<facet type="django" name="Django"> <facet type="django" name="Django">
<configuration> <configuration>
<option name="rootFolder" value="$MODULE_DIR$/sophon" /> <option name="rootFolder" value="$MODULE_DIR$" />
<option name="settingsModule" value="settings.py" /> <option name="settingsModule" value="sophon/settings.py" />
<option name="manageScript" value="$MODULE_DIR$/manage.py" /> <option name="manageScript" value="manage.py" />
<option name="environment" value="&lt;map/&gt;" /> <option name="environment" value="&lt;map&gt;&#10; &lt;entry&gt;&#10; &lt;string&gt;DJANGO_SETTINGS_MODULE&lt;/string&gt;&#10; &lt;string&gt;settings&lt;/string&gt;&#10; &lt;/entry&gt;&#10; &lt;entry&gt;&#10; &lt;string&gt;DJANGO_DEBUG&lt;/string&gt;&#10; &lt;string&gt;1&lt;/string&gt;&#10; &lt;/entry&gt;&#10; &lt;entry&gt;&#10; &lt;string&gt;DJANGO_SECRET_KEY&lt;/string&gt;&#10; &lt;string&gt;change-me-in-production&lt;/string&gt;&#10; &lt;/entry&gt;&#10;&lt;/map&gt;" />
<option name="doNotUseTestRunner" value="false" /> <option name="doNotUseTestRunner" value="false" />
<option name="trackFilePattern" value="migrations" /> <option name="trackFilePattern" value="migrations" />
</configuration> </configuration>