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.18.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4fe951ec85f66c4b351c5e0bac6e8fcb8c58001fd8c095c3852f71abcd5ff660 |
|
MD5 | 8c95b9f37c53a4bc0c5c9b42d0ed0c6d |
|
BLAKE2b-256 | cfba7772c8dc66e82a3210a2887d893833cb153b7ed542ccc00781efa22f7caf |
Close
Hashes for django_user_defined_fields-0.0.18-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f795f5db3cb3164364aadc5146e9d0985fbf4304a2581b61336e43eab2cf9e9c |
|
MD5 | 33c5d9b8f9be5d819bc72023914c802b |
|
BLAKE2b-256 | f03e43f920ccde34463d997dcc35ce70cdb9db908fa69675a47ff4ed59371214 |