Skip to content
This repository has been archived by the owner on Mar 20, 2024. It is now read-only.

Manages creation, editing and publishing of drafts model objects for editing.

License

Notifications You must be signed in to change notification settings

OmegaDroid/django-draft-model

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

django-draft-model

Build Status

Manages creation, editing and publishing of drafts model objects for editing.

Aims

  • Mark model with decorator
  • Model will be given a foreign key to the model automatically
  • Upon updating the model the draft will be changed instead
  • Upon calling publish on the model the draft information will be saved in the main instance
  • creation_date field will be added to the model which will be populated when the model is first made
  • edited_date field will be added to the model which will be updated when the field is updated
  • Drafts will have simple migrations applied to them automatically

About

Manages creation, editing and publishing of drafts model objects for editing.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published