skip to navigation
skip to content

django-class-backed-field 0.1

This project has a field which extends a charfield and will pass the string stored in the database to the constructor of the object specified

This field will allows you to store a string in the database and passes it as the first and only arg to a constructor. The best use I’ve found for this so far is the ability to store the id of an object in the database, and then make a REST call using that id.

Take a Look at Github for examples

File Type Py Version Uploaded on Size (md5) Source 2014-02-04 8KB