Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/omkarkhoche3448/django
A repository documenting my journey learning Django. Includes notes on setting up Django projects, basic views, templates, static files, creating apps, and integrating Tailwind CSS. it also cover advanced topics such as Django relationship models, handling models and URLs, Django forms, and a full-stack project as well
https://github.com/omkarkhoche3448/django
admin-panel django django-forms django-models django-setup full-stack-project tailwind-css
Last synced: 26 days ago
JSON representation
A repository documenting my journey learning Django. Includes notes on setting up Django projects, basic views, templates, static files, creating apps, and integrating Tailwind CSS. it also cover advanced topics such as Django relationship models, handling models and URLs, Django forms, and a full-stack project as well
- Host: GitHub
- URL: https://github.com/omkarkhoche3448/django
- Owner: omkarkhoche3448
- Created: 2024-09-01T11:26:38.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2024-09-17T13:45:10.000Z (about 2 months ago)
- Last Synced: 2024-09-30T10:01:22.025Z (about 1 month ago)
- Topics: admin-panel, django, django-forms, django-models, django-setup, full-stack-project, tailwind-css
- Language: Python
- Homepage:
- Size: 984 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Django Project
## Overview
This is a Django application designed to demonstrate Django functionality and basic project structure.
## Project Structure
- `DjangoProject/`: Contains project settings and configurations.
- `djangoApp/`: Placeholder for Django app code.
- `media/`: User-uploaded media files.
- `static/`: Static files (CSS, JavaScript).
- `templates/`: HTML templates.
- `theme/`: Additional styling themes.
- `db.sqlite3`: SQLite database file.
- `manage.py`: Django management script.## Setup
1. **Clone the Repository:**
```bash
git clone https://github.com/omkarkhoche3448/Django.git
cd Django
```2. **Create and Activate a Virtual Environment:**
- On macOS/Linux:
```bash
python -m venv .venv
source .venv/bin/activate
```- On Windows:
```bash
python -m venv .venv
.venv\Scripts\activate
```3. **Install Dependencies:**
```bash
pip install -r requirements.txt
```4. **Apply Migrations:**
```bash
python manage.py migrate
```5. **Create a Superuser (Optional):**
If you need an admin user, create one by running:
```bash
python manage.py createsuperuser
```6. **Collect Static Files:**
```bash
python manage.py collectstatic
```7. **Run the Development Server:**
```bash
python manage.py runserver
```Open your browser and navigate to `http://127.0.0.1:8000/` to see the running application.
## Notion Notes
For additional details, visit the Notion page: [Django Project Notes](https://www.notion.so/Django-f006a1f86a944887ad4bd758b2c10fe8)