Skip to main content

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

Project description

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 https://github.com/themotleyfool/django-class-backed-field

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for django-class-backed-field, version 0.1
Filename, size File type Python version Upload date Hashes
Filename, size django-class-backed-field-0.1.zip (8.3 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page