create new django project
django-admin startproject mysite
django app
How to create Django app
--------------------------
Project
> pip install Django
> django-admin startproject config .
> python manage.py runserver
http://127.0.0.1:8000/
App
> python manage.py startapp adminapp
how to start a new django project
...\> django-admin startproject project_name
django
pip install django # Install Django Packages
django-admin startproject project_name # Create a Project
cd project_name
python manage.py makemigrations # Create new migrations
python manage.py migrate # Apply Migrations
python manage.py createsuperuser # Create User for admin
python manage.py runserver # Start Server
python manage.py startapp sub_module # Create a sub app
django doc poll app
$ python manage.py runserver
Linux: python3 manage.py runserver
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us