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.19.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | cd71509dbeb6c1594dbde585918f0e1b9947fa3dd8141ca4e1d24fb96e7320b6 |
|
MD5 | 88ee014e6183bc565b8e88a1e10ca206 |
|
BLAKE2b-256 | 0616d89224259328af7dd874e10e07819bf8858a9fd40a050a0f5ed4efa78907 |
Close
Hashes for django_user_defined_fields-0.0.19-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 64ca1dbdfddfb714ea49a2136615999d9d81bcd72624c5b9be858b15523403a9 |
|
MD5 | 4e7dfb3df8a069d74c40500f1cc89f16 |
|
BLAKE2b-256 | 02214977587692ffe5851599863104fa06028e4e97eeb5f570003e4422b12a2b |