You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Benni Bärmann 39f697645f some more detailed documentation 3 years ago
foerderbarometer added Locale Middleware for i18n of admin interface 3 years ago
input some documentation 3 years ago
.gitignore settings removed. symlink should be used. README adjusted. 3 years ago
LICENSE Initial commit 3 years ago some more detailed documentation 3 years ago new django project 3 years ago


purpose: gather data from intern(WMDE) and extern(volunteers) forms to create a database ('förderdatenbank') and send emails with links for a questionary.

installation and development setup

ln -sr foerderbarometer/ foerderbarometer/

build database with

python3 makemigrations

create superuser account with

python3 createsuperuser

run the development server with

python3 runserver

access via

http://localhost/ http://localhost/intern/ (login required) http://localhost/admin/ (login reqiured)

versions used in development

python 3.8.2
django 3.1.1
django-formtools 2.2
whitenoise 5.2.0
gunicorn 20.0.4


run some tests with

python3 test

production setup

ln -sr foerderbarometer/ foerderbarometer/

edit /secrets.json to contain something similar to


edit foerderbarometer/ according to your database setup (tested with MariaDB 10.0.36)

run the following commands:

python3 makemigrations
python3 migrate
python3 collectstatic

add to cron at least one time a day:

python3 sendmails

server starts with

nohup gunicorn --forwarded-allow-ips="*" -b '0:8000' foerderbarometer.wsgi 2&> logfile &

Should be executed at least daily e.g. in crontab

python3 sendmails