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.17.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0592ee5c7fbec0df03faaf4c0065b4e8b7ccbe1a73d6a2b81a7b82b75f9527b8 |
|
MD5 | b2e368dd2e5b09e859b04a536e77c0a8 |
|
BLAKE2b-256 | 4833f760e1ee0c95e5e96bf966e73712929ac8ab339261279b13dc492b16a61b |
Close
Hashes for django_user_defined_fields-0.0.17-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7f29ef15b26ea3eb2ef8a41c72feafccce8609fb7884965a4a36938bfe1f3d71 |
|
MD5 | efcef9d406311cfe385099c6e1bf1fcd |
|
BLAKE2b-256 | c4f3d12a51ce9dbb38a782080b2c04a0f00064d00d58eadc80ed9de37a3badf3 |