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.16.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 77d685a395b27674b413bf97253fd1296fd40ae5dd46bdba07103a50c8e8018c |
|
MD5 | 4d6de6bd20c4daa3d19d8feb71898f83 |
|
BLAKE2b-256 | 23945a91ca8ec16e943087280172d2e0854cd43c20313c11e98102af3f8f753a |
Close
Hashes for django_user_defined_fields-0.0.16-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6630dae89761ad0869d1aae109bccdce8ba0e683cfdbd36e136b5903ab0176bb |
|
MD5 | a3bbcc6b29ed4bd371b21a87865f408d |
|
BLAKE2b-256 | 631326d238517be270f8e4c2a039e7b1d4a2bdd05ea042fa0c887b2b9eb924a9 |