Dynamical django model structure. For example, for user customized medical specialist protocols.
Project description
# django_dm
## USE: - model attr “data = models.TextField()” - modelForm use DynamicModelForm “class MyForm(django_dm.forms.DynamicModelForm)” - required ‘data’ in Meta fields “class Meta:fields = (‘data’, )” - dynamic_object in kwargs form “form = MyForm(dynamic_object=get_dynamic_object()” - done!
Project details
Release history Release notifications
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Filename, size & hash SHA256 hash help | File type | Python version | Upload date |
---|---|---|---|
django_dynamic_structure-0.0.1-py2.7.egg (25.7 kB) Copy SHA256 hash SHA256 | Egg | 2.7 | |
django-dynamic-structure-0.0.1.tar.gz (6.7 kB) Copy SHA256 hash SHA256 | Source | None |