Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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 runserver

To run Django in localhost, open terminal and run "py manage.py runserver"