Dashboard is a Django app of login-protected sales dashboard. This project demonstrates essential techniques of web development with Django: writing views for HTML, authentication with forms, showing data from the DB, and including static assets.
Detailed documentation is in the "docs" directory.
Add "core" to your INSTALLED_APPS setting like this:
INSTALLED_APPS = [ ... 'core', ]
Include the core URLconf in your project urls.py like this:
path('core/', include('core.urls')),
- Run
python manage.py migrate
to create the polls models. - Start the development server and visit http://127.0.0.1:8000/admin/ to add a new employee (you'll need the Admin app enabled).
- Visit http://127.0.0.1:8000/core/ to see the changes in the Dashboard.