The end of the Django official tutorial, setup for PyCharm Professional demos
- Clone this repo, open in PyCharm Professional, which should:
- Make a virtual environment
- Prompt to install dependencies from
requirements.txt - Configure the settings that recognize this as a Django project
- Make a Django run configuration
- Open PyCharm's
manage.pyconsole viaTools | Run manage..py task makemigrationsand press entermigrateand press entercreatesuperuser(and answer the questions)- Run the created run config (probably named
django_tutorial) - Visit
http://127.0.0.1:8000/admin/and add a question - Visit
http://127.0.0.1:8000/polls/