Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rakibrahman/hello_django
Django
https://github.com/rakibrahman/hello_django
django python
Last synced: 1 day ago
JSON representation
Django
- Host: GitHub
- URL: https://github.com/rakibrahman/hello_django
- Owner: RakibRahman
- Created: 2023-11-19T15:01:52.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-01-21T15:08:32.000Z (about 1 year ago)
- Last Synced: 2024-01-21T16:30:55.041Z (about 1 year ago)
- Topics: django, python
- Language: Python
- Homepage:
- Size: 122 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# hello_django
# Install Django:
```pip install django```# Set up project
- Set up virtual environment: ```python -m venv env```, cd project_root_dir
- Run Project: ```django-admin startproject project_name```
- Run App: ```python manage.py startapp app_name```
- Run Server: ```python manage.py runserver``` // active Django server on project root path# Migrating Models:
### The three-step guide to making model changes:- Change models (in app/models.py).
- Run ```python manage.py makemigrations``` to create migrations for those changes
- Run ```python manage.py migrate``` to apply those changes to the database.