Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 8 days 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 (3 months ago)
- Default Branch: main
- Last Pushed: 2024-11-16T21:24:13.000Z (2 months ago)
- Last Synced: 2024-11-16T22:24:46.701Z (2 months ago)
- Topics: django-framework, html5, python
- Language: Python
- Homepage:
- Size: 942 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"