3. Step-2 (runserver the create project)

erp@erp-Inspiron-N5110:~/SMPBBC$ ls
manage.py  SMPBBC
erp@erp-Inspiron-N5110:~/SMPBBC$ python manage.py runserver
Validating models...

0 errors found
June 29, 2015 - 18:13:46
Django version 1.6.1, using settings 'SMPBBC.settings'
Starting development server at http://127.0.0.1:8000/
Quit the server with CONTROL-C.
[29/Jun/2015 18:13:54] "GET / HTTP/1.1" 200 1757



It worked!

Congratulations on your first Django-powered page.

Of course, you haven't actually done any work yet. Next, start your first app by running python manage.py startapp [appname].
You're seeing this message because you have DEBUG = True in your Django settings file and you haven't configured any URLs. Get to work!



No comments:

Post a Comment