A simple CRUD (Create, Read, Update, Delete) application built using the Django framework. This project demonstrates basic CRUD operations on a database using Django's ORM (Object-Relational Mapping).
- Create new records
- Retrieve and display existing records
- Update existing records
- Delete records
git clone https://github.com/anfiquehussain/Django-crud.git
cd Django-crud
python -m venv venv
venv\Scripts\activate
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
python manage.py migrate
python manage.py runserver
Open your browser and go to http://127.0.0.1:8000/
to see the application in action.
- Home Page: View all records.
- Add Record: Use the form to create a new record.
- Edit Record: Click on a record to update its details.
- Delete Record: Click on a record to delete it.
├───crud_app
│ ├───migrations
│ │ └───__pycache__
│ ├───templates
│ │ └───crud_app
│ └───__pycache__
├───crud_project
│ └───__pycache__
├───media
│ └───products
crud_app/
: Main Django application directory.migrations/
: Database migrations.templates/
: HTML templates for the application.crud_app/
: Templates specific tocrud_app
.
__pycache__/
: Compiled Python files.
crud_project/
: Project configuration directory.__pycache__/
: Compiled Python files.
media/
: Directory for storing media files.products/
: Directory for product images and files.
Contributions are welcome! Please fork the repository and create a pull request.
This project is licensed under the MIT License.
- Django Documentation: https://docs.djangoproject.com/
For any queries or further assistance, please contact Anfique Hussain V.