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.15.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | eca4c424276aef36545f3124ce6318f147fe68c8ca98b1ea96b18d384a68630d |
|
MD5 | eae80d3b710f37dd1367bcac3a453f3d |
|
BLAKE2b-256 | 91af5bc80ff2e61592800d9710f1563b6f184266031afb502cd91c706ddb4e63 |
Close
Hashes for django_user_defined_fields-0.0.15-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c4713bc462ef6109becb53ec9c09c7eed7da499137e34fd42270f43cc7566a36 |
|
MD5 | d63ed9bfae9b3d460420ff31a643eeda |
|
BLAKE2b-256 | 2f84e31d8920a252a357304137df624e63496a691f5150b5bb8ac3d2d48686d0 |