Django-front Admin is a simple Django app to administrate pages from `Django-PWD-front`
package.
The goal of this project is to present a nice layout to handle `dashboard`
pages. With
this approach in mind which is building a `dashboard`
application, you'd rather copy
the code in you own project structure than install this app.
Add
dashboard
to yourINSTALLED_APPS
setting like this:INSTALLED_APPS = [ ... 'dashboard', ]
Include the front URLconf as root pages in your project urls.py like this:
path('', include('dashboard.urls', namespace='front_admin')),
This package contains no models, therefore no migrations to do.
Add templates directory to your templates:
templates/front/copy_here_your_front_page.html
- Configure and start coding.
Make messages: CD in
front
directory and run:$ cd /front $ ../test_project/manage.py makemessages -l fr
Compile messages, run:
$ ../test_project/manage.py compilemessages