Django boilerplate with security configured and env keys hidden. Good for your django/python learning courses. Comes with bootstrap4 and configurations for Portuguese-BR template (easily change). Also, postgresql prepared connection. X_FRAME, HSTS, Nosniff, XSS_filter, CSRF, honeypot and protection against bruteforce pre-configured
base.py overrides settings.py for development (default runserver)
prod.py overrides base.py for production
All secure keys and passwords are in example.env
git clone https://github.com/Neustren/django-boilerplate
python -m venv venv
source venv/bin/activate # GNU/Linux
pip install -r requirements.txt
python manage.py makemigrations
python manage.py migrate
cp example.env .env # create your .env with new django key and DB settings
python manage.py runserver # For dev
python manage.py runserver --settings=backend.settings.prod # For production envs
git remote remove origin # start your own repository
python manage.py createsuperuser # create user for admin
localhost:8000/neuadmin # change your new url in urls.py, the /admin is fake
👤 William Franco
Give a ⭐️ if this project helped you!
This README was generated with ❤️ by readme-md-generator