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 | 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-dynamic-structure-0.0.6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c3301d79b8828b1a09979aa7835c7af01ed0dfea9bc35413cc4f8e5c40f0de7d |
|
MD5 | b337e68a64d0a30077be9fbcf21b6621 |
|
BLAKE2b-256 | 48b16c1b111557a460f664baadf332216ca3dc8ab6fc3a3d9c009da6e7c655c8 |
Close
Hashes for django_dynamic_structure-0.0.6-py2.7.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4ac14c7b7bceaa45954efd1b97aa48e5929cf0c18b6b5b868b918f1aedab7567 |
|
MD5 | 2d1e13fdac6563de3a5d8634d073a07e |
|
BLAKE2b-256 | 5e487e1774a5dc8896f21bae6b449e30ead68748b245a3541ddcf5ebf567e400 |