A Django app for user defined fields
Project description
django-user-defined-fields
Django Used Defined Fields is a simple way to allow your users to add extra fields to your models, based on JSONField.
Installation
Standard pip install:
pip install django-user-defined-fields
Quickstart
from userdefinedfields.models import ExtraFieldsJSONField
class Example(models.Model):
extra_fields = ExtraFieldsJSONField()
Tests
Run tests in example directory with python manage.py test library
Settings
USERDEFINEDFIELDS_INPUT_CLASSES = 'd-none' # hide the textarea if you're using a frontend solution
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for django_user_defined_fields-0.0.20.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9091f29daa1f48adabc353e9ed394aa757d20bd54fd268c52ddb83c43b5d6453 |
|
MD5 | ed7e18ca7b9fb46ec78ca63f80c19b96 |
|
BLAKE2b-256 | 4e7cff136cf9cf4ba97fb13eb30142c0f1a58c9ea55be5ada23dae4dc8c6cc52 |
Close
Hashes for django_user_defined_fields-0.0.20-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6690bfdea261ae710d2137c60c759c9ffcf8127186eedf211822433b053f0daf |
|
MD5 | 8606af2374cb1943eaef7ad9715abeed |
|
BLAKE2b-256 | 66a660e0af68c3b4cdc7c70ba513c0080f0a916070b1c3d36b99ac1e638db8ae |