Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pauleveritt/django_tutorial
The end of the Django official tutorial, setup for PyCharm Professional demos
https://github.com/pauleveritt/django_tutorial
django pycharm python
Last synced: 19 days ago
JSON representation
The end of the Django official tutorial, setup for PyCharm Professional demos
- Host: GitHub
- URL: https://github.com/pauleveritt/django_tutorial
- Owner: pauleveritt
- License: apache-2.0
- Created: 2020-02-21T15:45:19.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-09-13T21:06:18.000Z (over 3 years ago)
- Last Synced: 2024-11-30T06:47:53.792Z (23 days ago)
- Topics: django, pycharm, python
- Language: Python
- Size: 21.5 KB
- Stars: 12
- Watchers: 3
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# django_tutorial
The end of the Django official tutorial, setup for PyCharm Professional demos## Installation
1. 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
2. Open PyCharm's `manage.py` console via `Tools | Run manage..py task`
3. `makemigrations` and press enter
3. `migrate` and press enter
4. `createsuperuser` (and answer the questions)
5. Run the created run config (probably named `django_tutorial`)
6. Visit `http://127.0.0.1:8000/admin/` and add a question
7. Visit `http://127.0.0.1:8000/polls/`