| Àå°í - ÆäÀÎÆ® Åä¾î jQuery ColorPicker¸¦ Django °ü¸®ÀÚ¿Í ÅëÇÕÇÏ´Â Django ¾Û |
Áö±Ý ´Ù¿î·Îµå |
Àå°í - ÆäÀÎÆ® Åä¾î ¼øÀ§ ¹× ¿ä¾à
- ƯÇã:
- MIT/X Consortium Lic...
- °Ô½ÃÀÚ À̸§:
- Glenn Siegman
- °Ô½ÃÀÚ À¥»çÀÌÆ®:
- https://github.com/gsiegman/
Àå°í - ÆäÀÎÆ® Åä¾î ű×
Àå°í - ÆäÀÎÆ® Åä¾î ¼³¸í
Django-PaintStore´Â jQuery Colorpicker¸¦ Django Admin.quickstart1°ú ÅëÇÕÇÏ´Â Django ¾ÛÀÔ´Ï´Ù. PIP ¼³Ä¡ Django-PaintStore2¸¦ ¼±È£ÇÏ´Â Python Packaging À¯Æ¿¸®Æ¼¸¦ »ç¿ëÇÏ¿© ¾ÛÀ» ¼³Ä¡ÇϽʽÿÀ. Settings.pyÀÇ insteduction_apps¿¡ ÀÀ¿ë ÇÁ·Î±×·¥À» Ãß°¡ÇϽʽÿÀ. installed_apps = (# ... 'ÆäÀÎÆ®Åä¾î',) 3. ¸ðµ¨¿¡ ColorPickerFielder Ãß°¡ : PaintStore.Fields¿¡¼ ColorPickerField Ŭ·¡½º ClosityModel (models.model) °¡Á® ¿À±â : title = models.charfield (max_length = 25) »ö»ó = ColorPickerField () 4. ¼±Åà »çÇ× : ¸ðµ¨ÀÇ º¯°æ ¸ñ·Ï¿¡¼ Á÷Á¢ »ö»ó ÆíÁý : Class ColleghtModelAdmin (admin.modelAdmin) : list_display = list_editable = Á¦Ç° ȨÆäÀÌÁö
Àå°í - ÆäÀÎÆ® Åä¾î °ü·Ã ¼ÒÇÁÆ®¿þ¾î