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.

Source Distribution

django-class-backed-field-0.1.zip (8.3 kB view details)

Uploaded Source

File details

Details for the file django-class-backed-field-0.1.zip.

File metadata

File hashes

Hashes for django-class-backed-field-0.1.zip
Algorithm Hash digest
SHA256 15d7ff9935434c1e6caca3e1191c4ed6eb4ed698de193e62032e471186a10f9a
MD5 5975dcaa29801b37b0a010b1ed1afaa9
BLAKE2b-256 66f4991d213202c8fc1bb70b177ee2178992f1b42c10807033ec1765e412ded7

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page