cabyas / django-crud-example

Example project for creating CRUDs with Django

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

A simple example to help to understand how Generic Views works in Django.

Change to fbv-vs-cbv branch to see the same implementation using Class-based Views and Function-based Views.

Pages

Home Page:

Home Page

Create and update Pages:

(The pages for creating and updating look like the same)

create/update page

Details Page:

Details page

Delete confirmation Page:

Delete Page

installation

  • Create a new virtual environment. If you don't know how to do it, you can learn here

  • Install the requirements:

pip install -r requirements.txt
  • run the migrations:
python manage.py migrate
  • Run the develop server:
python manage.py runserver

About

Example project for creating CRUDs with Django


Languages

Language:Python 60.6%Language:HTML 35.5%Language:CSS 3.9%