| Django-DynamicForms °ü¸® ÀÎÅÍÆäÀ̽º¸¦ ÅëÇØ »çÀÌÆ®¿¡ ¾ç½ÄÀ» µ¿ÀûÀ¸·Î Ãß°¡ÇÕ´Ï´Ù. |
Áö±Ý ´Ù¿î·Îµå |
Django-DynamicForms ¼øÀ§ ¹× ¿ä¾à
- ƯÇã:
- The Apache License 2.0
- °Ô½ÃÀÚ À̸§:
- Roald de Vries
- °Ô½ÃÀÚ À¥»çÀÌÆ®:
- https://github.com/roalddevries/
Django-DynamicForms ű×
Django-DynamicForms ¼³¸í
°ü¸® ÀÎÅÍÆäÀ̽º¸¦ ÅëÇØ »çÀÌÆ®¿¡ ¾ç½ÄÀ» µ¿ÀûÀ¸·Î Ãß°¡ÇϽʽÿÀ. Django-DynamigerForms´Â Django ¾ÛÀÔ´Ï´Ù. admin interface.with django-dynamicforms¸¦ ÅëÇØ ¾ç½ÄÀ» »çÀÌÆ®¿¡ µ¿ÀûÀ¸·Î Ãß°¡ÇÏ´Â Django ¾ÛÀÔ´Ï´Ù. ¾ç½Ä - °ü¸® ÀÎÅÍÆäÀ̽º¸¦ ÅëÇØ ¹Ì¸® Á¤ÀÇ µÈ ¾ç½ÄÀ» »ç¿ëÀÚ Á¤ÀÇ - CSVINSTALL- PIP ¼³Ä¡ DJango-DynamicForms-add 'add (r'^ dynamicforms / ' ( 'dynamicforms.urls')À» urls.pysettingStphere¿¡ Æ÷ÇÔ½ÃÅ°´Â µÎ °¡Áö ¼±ÅÃÀû ¼³Á¤ : DynamicForm_Types ¹× DynamicField_types, »ç¿ëÀÚ Á¤ÀÇ ¾ç½Ä ¹× Çʵå À¯ÇüÀ» °¢°¢ Á¤ÀÇÇÕ´Ï´Ù. ¿¹ : dynamicForm_Types = { '´º½º ·¹ÅÍ ±¸µ¶': {verbose_name ':'´º½º ·¹ÅÍ ±¸µ¶ ','base_form ':'´º½º ·¹ÅÍ .Forms.SubscriptionForm ','success_url ':'/ ´º½º ·¹ÅÍ / °¨»ç / ','ÅÛÇø´ ': 'dynamicforms / form.html', 'dynamicforms / _form.html', 'email_template': 'dynamicforms / notification.html',},} dynamicfield_types = { 'ÀüÈ': {verbose_name ':'ÀüÈ ¹øÈ£ ','Çʵå ':'phone.forms.phonefield ','has_choices ': false,'default ':' ','widget ':'django.forms.textinput '},} ÀÀ´ä ÀüÀÚ ¸ÞÀÏÀÌ ¼³Á¤¿¡¼ Àü¼ÛµË´Ï´Ù. default_from_email. ¾Ë¸² ÀüÀÚ ¸ÞÀÏÀÌ ¼³Á¤¿¡¼ Àü¼ÛµË´Ï´Ù .Server_email.UsageTemplate Tagevery ¾ç½Ä¿¡´Â ÀÚü ÆäÀÌÁö°¡ ÀÖÁö¸¸ ´ÙÀ½°ú °°Àº ´Ù¸¥ ÆäÀÌÁö¿¡µµ Æ÷Ç﵃ ¼ö ÀÖ½À´Ï´Ù. {% Load DynamicForm_Tags %} ... {% show_dynamicform %} Ç×»ó ÀÚüÀûÀ¸·Î °Ô½ÃµË´Ï´Ù. URL, À¯È¿¼º °Ë»ç ¿À·ù°¡ ÇØ°áµÇ¾î¾ßÇÕ´Ï´Ù. DynamicForms¸¦ ·»´õ¸µÇÏ´Â µ¥ »ç¿ëµÇ´Â ÅÛÇø´Àº »ç¿ëÀÚ ÁöÁ¤ ¾ç½Ä À¯Çü¿¡ ÀÇÇØ ¹«½Ã µÉ ¼ö ÀÖÁö¸¸ ±âº»°ªÀº ´ÙÀ½°ú °°½À´Ï´Ù. - Æû URL for DynamicForms / _Form.html for for yourly - dynamicforms / _form.html ÅÛÇø´ ÅÂ±× - ¾Ë¸² ÀüÀÚ ¸ÞÀÏ ¿ä±¸ »çÇ׿¡ ´ëÇÑ DynamicForms / Notification.EML : ¡¤ ÆÄÀ̽㠡¤ Àå°í
Django-DynamicForms °ü·Ã ¼ÒÇÁÆ®¿þ¾î