Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sandip-kanzariya/django-crud
Django CRUD Operations with test suits, SQLite Database, Bootstarp
https://github.com/sandip-kanzariya/django-crud
bootstrap crud django sqlite testcase
Last synced: 13 days ago
JSON representation
Django CRUD Operations with test suits, SQLite Database, Bootstarp
- Host: GitHub
- URL: https://github.com/sandip-kanzariya/django-crud
- Owner: Sandip-Kanzariya
- Created: 2024-12-24T11:43:51.000Z (17 days ago)
- Default Branch: main
- Last Pushed: 2024-12-24T12:00:42.000Z (17 days ago)
- Last Synced: 2024-12-24T13:19:01.036Z (17 days ago)
- Topics: bootstrap, crud, django, sqlite, testcase
- Language: Python
- Homepage:
- Size: 142 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Django CRUD Operations with test suits
## Run this Project on your Local machine
### Clone This Repo
```commandline
git clone https://github.com/Sandip-Kanzariya/Django-CRUD.git
```### Create Virtual Environment (py = python)
```bash
python -m venv .venv
```### Activate Virtual Environment
```bash
.venv\Scripts\activate
```### Install Packages From requirements.txt
```bash
pip install -r requirements.txt
```### Run Django Project
```commandline
python manage.py runserver
```### Run Test Suite
```commandline
python manage.py test
```# Steps to Create Django Project from Scratch
### Create and Install
```commandline
django-admin startproject crud .python manage.py startapp home
```### Migrations
```commandline
python manage.py makemigrations
python manage.py migrate
```### Create Superuser (If you want)
```commandline
python manage.py createsuperuser
```### Run Django Project
```commandline
python manage.py runserver
```### Run Test Suite
```commandline
python manage.py test
```> Home Page
![Read](images/img.png)
> Create Page
![Create](images/img_1.png)
> Update Page
![Update](images/img_2.png)