Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagebash
$ python manage.py runserver
Performing system checks...

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

System check identified no issues (0 silenced).

November 07, 2018 - 23:33:01
Django version 2.1.1, using settings 'lifeplanet.settings'
Starting development server at http://127.0.0.1:8000/
Quit the server with CONTROL-C.
[07/Nov/2018 23:33:13] "GET / HTTP/1.1" 200 16348
[07/Nov/2018 23:33:13] "GET /static/admin/css/fonts.css HTTP/1.1" 200 423
[07/Nov/2018 23:33:13] "GET /static/admin/fonts/Roboto-Regular-webfont.woff HTTP/1.1" 200 80304
[07/Nov/2018 23:33:13] "GET /static/admin/fonts/Roboto-Light-webfont.woff HTTP/1.1" 200 81348
[07/Nov/2018 23:33:13] "GET /static/admin/fonts/Roboto-Bold-webfont.woff HTTP/1.1" 200 82564
Not Found: /favicon.ico
[07/Nov/2018 23:33:13] "GET /favicon.ico HTTP/1.1" 404 1976


It seems like mine has an error associated with migration, so I have to run migration command as python guided like above

Code Block
$ python manage.py migrate


Wow. Now you are all set to start your journey on Django !!


Info

The default connection URL defined on the project is http://127.0.0.1:8000, you can check it on your local web browser easily.

If you want to change the connection port, you can simply change it by starting server like below

Code Block
languagebash
$ python manage.py runserver 8080

It seems like mine has an error associated with migration, so I have to run migration command as python guided like above

Code Block
$ python manage.py migrate

...