https://github.com/thecodewithabhi/django-crud-app
A lightweight and well-structured CRUD (Create, Read, Update, Delete) application built with Django. This project demonstrates fundamental database operations using Djangoβs models, views, and templates, making it an excellent starting point for beginners exploring with django
https://github.com/thecodewithabhi/django-crud-app
crud django mvc mysql programming pyhon3 python python-app sqlite sqlite3 webapp
Last synced: 2 months ago
JSON representation
A lightweight and well-structured CRUD (Create, Read, Update, Delete) application built with Django. This project demonstrates fundamental database operations using Djangoβs models, views, and templates, making it an excellent starting point for beginners exploring with django
- Host: GitHub
- URL: https://github.com/thecodewithabhi/django-crud-app
- Owner: thecodewithabhi
- Created: 2025-06-12T03:51:12.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-06-12T04:06:25.000Z (about 1 year ago)
- Last Synced: 2025-06-12T04:39:35.163Z (about 1 year ago)
- Topics: crud, django, mvc, mysql, programming, pyhon3, python, python-app, sqlite, sqlite3, webapp
- Language: CSS
- Homepage: https://codewithabhi.in
- Size: 0 Bytes
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# π οΈ Django CRUD Application
A simple and clean CRUD (Create, Read, Update, Delete) web application built using Django framework. This project demonstrates the basic functionality of a typical CRUD system with Django's MVT (Model-View-Template) architecture. Ideal for beginners looking to learn Django by building practical applications.
---
## π Table of Contents
- [Features](#features)
- [Technologies Used](#technologies-used)
- [Project Structure](#project-structure)
- [Installation](#installation)
- [Usage](#usage)
- [Admin Panel](#admin-panel)
- [Available Routes](#available-routes)
- [Screenshots](#screenshots)
- [Author](#author)
- [License](#license)
---
## β
Features
- Add new Member
- View list of records
- Update records
- Delete records
- Django Admin Interface
- Form validations
- Clean and responsive UI (optional with Bootstrap)
---
## π§° Technologies Used
- Python 3.x
- Django 4.x
- SQLite (default database)
- HTML, CSS
- Bootstrap (optional for styling)
---
## π Project Structure
crud_project/
βββ crud_app/
β βββ admin.py
β βββ apps.py
β βββ forms.py
β βββ models.py
β βββ tests.py
β βββ urls.py
β βββ views.py
β βββ templates/
β β βββ crud_app/
β β βββ base.html
β β βββ list.html
β β βββ form.html
β βββ static/
βββ crud_project/
β βββ settings.py
β βββ urls.py
β βββ wsgi.py
βββ db.sqlite3
βββ manage.py
βββ requirements.txt
---
## βοΈ Installation
### Step-by-step instructions:
```bash
# Clone the repository
git clone https://github.com/thecodewithabhi/django-crud-app.git
cd django-crud-app
# Create virtual environment
python -m venv env
source env/bin/activate # On Windows use: env\Scripts\activate
# Install dependencies
pip install -r requirements.txt
# Apply database migrations
python manage.py makemigrations
python manage.py migrate
# Run the development server
python manage.py runserver
```
Visit: http://127.0.0.1:8000
π§ͺ Usage
Navigate to the homepage to see the list of records.
Use the Add, Edit, and Delete buttons to perform respective operations.
All fields include basic Django form validation.
π Admin Panel
Create a superuser:
```bash
python manage.py createsuperuser
```
Visit http://127.0.0.1:8000/admin and log in.
Route Description
/ Homepage
/members/ View Members
/editmember// Edit a record by ID
/deletemember// Delete a record by ID
/admin/ Django admin panel
π¨βπ» Author
Your Abhishek Shakya
GitHub: @thecodewithabhi
Email: abhishakya@codewithabhi.in
πΌοΈ Screenshots


