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 testapp
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.13.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 76dc8305e60dfa010d2696373ee1833cbcf53943d99b37feb654695f6e93a9cc |
|
MD5 | 4851c3bee8ad42e2342207468cc11df9 |
|
BLAKE2b-256 | a271d795d4fea79cca5afccdcc558f8a0faa71d65032e3bb3a1db60e15059ea7 |
Close
Hashes for django_user_defined_fields-0.0.13-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b4c8137f3f9d9511f3bbb3817b6198a202be5fbca14074618a36a5ee6492ecd6 |
|
MD5 | 5cb44a45e7acff4e514d823c1335ec6f |
|
BLAKE2b-256 | 8197f35b7ac973c2ff48247e4e6f0c7fbe1b94f7f77015ea0c07e3cbfe1e9ee9 |