https://github.com/redhog/fcdjangoutils
A collection of various small Django utilities.
https://github.com/redhog/fcdjangoutils
Last synced: 5 months ago
JSON representation
A collection of various small Django utilities.
- Host: GitHub
- URL: https://github.com/redhog/fcdjangoutils
- Owner: redhog
- Created: 2010-12-31T18:19:50.000Z (over 15 years ago)
- Default Branch: master
- Last Pushed: 2014-11-29T15:33:14.000Z (over 11 years ago)
- Last Synced: 2025-09-25T12:13:37.493Z (10 months ago)
- Language: JavaScript
- Homepage: http://redhog.org/fcdjangoutils
- Size: 765 KB
- Stars: 0
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
A collection of various small Django utilities. Some examples:
* modelhelpers.SubclassModelMixin makes it easy to cast an instance of a base class to a subclass (if the database content actually is the subclass), making querying of entier class hierarchies easier.
* signalautoconnectmodel.SignalAutoConnectModel add signal handlers as methods with special names directly on the object
* jsonview.json_view decorator for views that return data that is converted to JSON before it is sent to the client
* jsonview.JsonEncodeRegistry / jsonview.JsonDecodeRegistry global registry of object type converters, allowing any object to be serialized/deserialized to/from json by the module
* fields.ModelLinkWidget Display a foreign key as a link to the other model in django admin
* fields.JsonField store arbitrary data in a model field, serialized as json and backed by a text database field.
* field.Base64Field store arbitrary binary data in a model field, serialized as base64 backed by a text database field.