/Sand

scrape and display the data with Django

Primary LanguageHTML

Sand

scrape and display the data with Django


Development Recording

1. create django project
// beware you are in the project root dir
django-admin startproject sand .
2. create the first app
django-admin startapp my_app
3. register the app in sand/settings.py
INSTALLED_APPS = [
    # default
    'django.contrib.admin',
    'django.contrib.auth',
    'django.contrib.contenttypes',
    'django.contrib.sessions',
    'django.contrib.messages',
    'django.contrib.staticfiles',
    # custom
    'my_app'
]
4. building admin page
python manage.py makemigrations
python manage.py migrate
python manage.py createsuperuser