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: 20 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 (11 months ago)
- Default Branch: main
- Last Pushed: 2024-12-27T05:56:44.000Z (11 months ago)
- Last Synced: 2025-05-18T20:07:39.186Z (6 months ago)
- Topics: bootstrap, crud, django, sqlite, testcase
- Language: Python
- Homepage:
- Size: 143 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

> Create Page

> Update Page
