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.14.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5042d5fbd103dbfd0dcc9621a567485ae3cf54efff6fcda3e5ef0324661e6d71 |
|
MD5 | abf42d638da587613c78e283eadd4083 |
|
BLAKE2b-256 | b23904e3dd7561375bf3122f0be3d138a80ce64ca809b5a88e810fc7333d3565 |
Close
Hashes for django_user_defined_fields-0.0.14-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 17d0e3a2b6fbf4ae5a040d4731cae30e8d31ad0e2e48de57de61557f70f0b637 |
|
MD5 | 2c17fa4011aba061c813bf6692a72fe5 |
|
BLAKE2b-256 | fdb440a0a23d68e285e3029580ec8333124829c0cd9a8cbc9b5ae1deffcd49f9 |