Wednesday, November 22, 2017

Django getting started

sudo pip3.6 install Django==1.11.7

follow the instructions

cd ~
vi .bash_profile
insert this line:
alias python=python3.6
source .bash_profile

django-admin startproject mysite
cd mysite/
python runserver

Performing system checks...

System check identified no issues (0 silenced).

You have 13 unapplied migration(s). Your project may not work properly until you apply the migrations for app(s): admin, auth, contenttypes, sessions.
Run 'python migrate' to apply them.

November 22, 2017 - 19:02:58
Django version 1.11.7, using settings 'mysite.settings'
Starting development server at
Quit the server with CONTROL-C.

in your browser enter

No comments: