django2/README.MD
Peter Kotyczka df108da80b pyapp
2024-04-04 09:10:54 +02:00

685 B
Executable File

-- Tutorial of django https://duckduckgo.com/?q=django+tutorial&iax=videos&ia=videos&iai=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Dsm1mokevMWk

-- Make a root folder named xy python3 -m venv virtualenv

Activate the virutal environment

source virtualenv/bin/activate

Install django

python3 -m pip install django

Start the project

django-admin startproject pyapp

install an app

python3 manage.py startapp pyapp

python3 manage.py createsuperuser python3 manage.py migrate

-- Django calling Rest Services ? python3 manage.py runserver

-- Django DB Initialisation

creating the model

python3 manage.py makemigrations

creating the table

python3 manage.py migrate