https://github.com/uptick/django-user-defined-fields
Used Defined Fields for Django
https://github.com/uptick/django-user-defined-fields
Last synced: 4 months ago
JSON representation
Used Defined Fields for Django
- Host: GitHub
- URL: https://github.com/uptick/django-user-defined-fields
- Owner: uptick
- License: mit
- Created: 2018-08-28T00:30:08.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2026-02-02T13:33:25.000Z (4 months ago)
- Last Synced: 2026-02-02T19:58:20.782Z (4 months ago)
- Language: Python
- Size: 97.7 KB
- Stars: 5
- Watchers: 9
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# django-user-defined-fields
[](https://badge.fury.io/py/django-user-defined-fields)
[](https://github.com/psf/black)
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:
```bash
pip install django-user-defined-fields
```
## Quickstart
```python
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
```