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
Release files for django-user-defined-fields 0.0.11
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| django-user-defined-fields-0.0.11.tar.gz | 5.5 kB | Details |
Release files / django-user-defined-fields-0.0.11.tar.gz
| Download URL | django-user-defined-fields-0.0.11.tar.gz |
|---|---|
| Size | 5.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
30829e33ccfca50ba06212f6f6946187140e0f58c43265429fa3178dccffec32
|
|
BLAKE2b-256 checksum How to use checksums |
0896419e12e2b0ee42a1f45bbf7d370ae2aee5fb4f603bf59273268748b92cb6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.8.5
|