Skip to content

qiailin/django-cbvcrudapp

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A Django CRUD app using Class Based Views

This repo is a demo of a CRUD app using Django's class based views.

Look at cbvcrudapp.urls too see how the views are setup.

The module cbvcrudapp.views contains the views InlineObjectsCreateView and InlineObjectsUpdateView that allow us to simultaneously update a model and instances of another model that has a foreign key pointing to it.

The templates in cbvcrudapp/templates has JavaScript embedded in them that will properly handle Django's formsets.

I have run this code using Django 1.6 and Python 2.7.

About

Demo of a Django CRUD app using Class Based Views

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 68.5%
  • HTML 31.5%