ConnectedPlacesCatapult / SharingCitiesDashboard

Personalisable dashboard for Sharing Cities IoT data
Apache License 2.0
6 stars 5 forks source link

Startup superuser setup #169

Closed kpennels closed 5 years ago

kpennels commented 5 years ago

New files Analytics/add_startup_admin.py - Helper class which prompts an admin individual for their user credentials and then adds the details to the user table. This script is used when the system is deployed in order to create a superuser that can login to the dashboard when it is first accessed

Updated files Analytics/manage.py - The helper class is imported and added as a manager command