some cleanup + env comments

This commit is contained in:
vabene1111
2020-06-02 10:11:18 +02:00
parent 9fd691b9f0
commit 81c3707090
2 changed files with 9 additions and 5 deletions

View File

@@ -1,7 +1,13 @@
DEBUG=1
# only set this to true when testing/debugging
DEBUG=0
# hosts the application can run under e.g. recipes.mydomain.com,cooking.mydomain.com,...
ALLOWED_HOSTS=*
# random secret key, use for example base64 /dev/urandom | head -c50 to generate one
SECRET_KEY=
# add only a database password if you want to run with the default postgres, otherwise change settings accordingly
DB_ENGINE=django.db.backends.postgresql_psycopg2
POSTGRES_HOST=db_recipes
POSTGRES_PORT=5432

View File

@@ -26,15 +26,13 @@
<script src="{% static 'js/bootstrap.min.js' %}"></script>
<!-- Select2 for use with django autocomplete light -->
<link href="{% static 'css/select2.min.css' %}" rel="stylesheet"/> <!-- TODO this style sheet might not be necessary -->
<link href="{% static 'css/select2.min.css' %}" rel="stylesheet"/>
<script src="{% static 'js/select2.min.js' %}"></script>
<!-- Bootstrap theme for select2 -->
<link rel="stylesheet" href="{% static 'css/select2-bootstrap.css' %}"/>
<link rel="stylesheet"
href="{% static 'themes/select2-bootstrap-theme.css' %}"
crossorigin="anonymous"/>
<link rel="stylesheet" href="{% static 'themes/select2-bootstrap-theme.css' %}" />
<script type="text/javascript">
$.fn.select2.defaults.set("theme", "bootstrap");