https://github.com/michaeldehaney94/python-django-app-rebuild
Python Online bookstore app and To-do app
https://github.com/michaeldehaney94/python-django-app-rebuild
django-framework html5 python
Last synced: 2 months ago
JSON representation
Python Online bookstore app and To-do app
- Host: GitHub
- URL: https://github.com/michaeldehaney94/python-django-app-rebuild
- Owner: michaeldehaney94
- Created: 2024-11-02T15:47:20.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-11-23T19:14:11.000Z (6 months ago)
- Last Synced: 2025-01-17T19:52:22.830Z (4 months ago)
- Topics: django-framework, html5, python
- Language: Python
- Homepage:
- Size: 966 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
1. Create project folder and install django - pip install django
2. Create django project - django-admin startproject [projectname]
3. 'cd' into django project directory
4. Create django app - django-admin startapp [appname]
5. Create database models and table columns in models.py
6. dd "myapp" to "INSTALLED_APPS" in settings.py
7. Import and register database model to admin.py
8. Run make migrations - py manage.py makemigrations
9. Run migrations - py manage.py migrate
10. Create superuser for django admin - py manage.py createsuperuser
11. Run server - py manage.py runserverTo run Django in localhost, open terminal and run "py manage.py runserver"