Skip to content

Decorator for extending Django models in a sane way

Notifications You must be signed in to change notification settings

mikexstudios/django-extend-model

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

I've been experimenting with various ways of extending Django models
with new fields and/or methods, without the co-operaton of the base
model, or jumping through any hoops to access the new attributes. The
result doesn't strike me as very Pythonic, but that suits me just fine.
Check out dob/models.py for a fairly concise doctest demonstrating what
this does.

About

Decorator for extending Django models in a sane way

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%