4.4. Installation and Running

4.4.1. Instalacja

$ pip install django

4.4.2. Starting new project

$ django-admin startproject addressbook

$ python manage.py migrate

$ python manage.py createsuperuser
Username (leave blank to use 'admin'): jose.jimenez
Email address: [email protected]
Password (again):
Superuser created successfully.

$ python manage.py runserver
Performing system checks...

System check identified no issues (0 silenced).
July 21, 1969 - 02:56:15
Django version 2.1.0, using settings 'addressbook.settings'
Starting development server at
Quit the server with CONTROL-C.

Sprawdź w przeglądarce strony:


  • http://localhost:8000/admin/

4.4.3. IDE Run configuration Run configuration Debug configuration