django-defender/defender/exampleapp
Aleksi Häkli a1d526f318
PEP8 formatting (#147)
Run black with Python 2.7 as target version
to unify the code styling and make it more
linter and style guide compliant
2019-11-15 20:22:14 +02:00
..
__init__.py finished working on the defender admin, cleaned some stuff up, added some notes and screenshots 2015-01-28 20:19:16 -05:00
defender.sb finished working on the defender admin, cleaned some stuff up, added some notes and screenshots 2015-01-28 20:19:16 -05:00
readme.md finished working on the defender admin, cleaned some stuff up, added some notes and screenshots 2015-01-28 20:19:16 -05:00
settings.py PEP8 formatting (#147) 2019-11-15 20:22:14 +02:00
urls.py PEP8 formatting (#147) 2019-11-15 20:22:14 +02:00
utils.py Add possibility to use custom utils.get_username_from_request function (#122) 2018-05-29 10:32:08 -04:00

Example App

admin password is admin:password

This is just a simple example app, used for testing and showing how things work

mkdir -p exampleapp/static exampleapp/media/static

PYTHONPATH=$PYTHONPATH:$PWD django-admin.py collectstatic --noinput --settings=defender.exampleapp.settings

PYTHONPATH=$PYTHONPATH:$PWD django-admin.py runserver --settings=defender.exampleapp.settings