Admin
username = pi
password = 12345678
git clone https://github.com/watchakorn-18k/django-network-monitor
cd django-network-monitor
cd wk18k
python manage.py makemigrations
python manage.py migrate
python manage.py runserver
python manage.py createsuperuser
On line 127 of the settings.py file, the shared login state session is added.
127 SESSION_ENGINE = 'django.contrib.sessions.backends.db'
Add static file
129 import os
130 STATIC_URL = '/static/'
131 STATICFILES_DIRS = [
132 os.path.join(BASE_DIR, 'static'),
133 ]
- Go to http://127.0.0.1:8000/
Copyright © 2023 All right reserved by https://github.com/watchakorn-18k/django-network-monitor/