This repository serves as a learning project, containing various Django apps. Each app focuses on different aspects, providing examples and exercises for understanding Django concepts.
- Basic Django admin app showcasing administrative functionalities.
- A guest app demonstrating a simple guest management system.
- An app featuring a to-do list with basic CRUD operations.
- An app centered around managing tasks and assignments.
- A project management app for handling different projects.
- A blog app allowing users to create, edit, and delete blog posts.
- An app focusing on individual project details and tasks.
- Static and media files are served through Django. The patterns
^static/(?P<path>.*)$
and^media/(?P<path>.*)$
are configured to handle static and media file routing.
-
Clone the Repository:
git clone https://github.com/FREDVUNI/django-learning.git
-
Setup Virtual Environment:
cd django-learning python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate
-
Install Dependencies:
pip install -r requirements.txt
-
Run Migrations:
python manage.py migrate
-
Create Superuser (Optional):
python manage.py createsuperuser
-
Run the Development Server:
python manage.py runserver
-
Access the Apps:
- Visit
http://127.0.0.1:8000/admin/
for the Django admin. - Explore other apps using their respective URLs (e.g.,
http://127.0.0.1:8000/guest/
,http://127.0.0.1:8000/todo_list/
, etc.).
- Visit
-
Screenshots: