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 testapp
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
Close
Hashes for django-user-defined-fields-0.0.10.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 906a8851a46ccf676f70886d0e0bee18495beb274160ff30be351dc9aa66780b |
|
MD5 | d099589e7c99efde382f2ae77f039d17 |
|
BLAKE2b-256 | 9cd25be31be469d67e865bf2c6dda3f7b3728ae71fa0cdbb6281ba32d7a9e0d4 |