The repository for the introductory Django project, created by the Django community, mainteined by Andresa Valério, built with ❤️ and Python.
This source code has being the base to presentations on @pinio and Django girls.
-
Clone this repository
-
Ensure that you have django installed in your machine
python -m django --version
You can also install it in a virtual environment
python -m venv .venv
source .venv/bin/activate
pip install django
-
Run the migrations with
python manage.py migrate
-
To run tests, use
python manage.py test polls
-
To run your project, use
python manage.py runserver
and go to http://localhost:8000/polls/ -
If you want to use the admin site, run
python manage.py createsuperuser
, choose a username, email and password for your admin profile and go to http://localhost:8000/admin/