| Django-preserialize ¸ðµ¨ ÀνºÅϽº ¹× Äõ¸® ¼¼Æ® »çÀü Á÷·ÄÈ |
Áö±Ý ´Ù¿î·Îµå |
Django-preserialize ¼øÀ§ ¹× ¿ä¾à
- °Ô½ÃÀÚ À¥»çÀÌÆ®:
- http://pypi.python.org/pypi/django-forkit/
Django-preserialize ű×
Django-preserialize ¼³¸í
Django-Preserialize´Â °´Ã¼°¡ queryset ¹× ¸ðµ¨ ÀνºÅϽº°¡ ¾øÀ½À» È®ÀÎÇÏ´Â Django ¾ÛÀÔ´Ï´Ù. ¼³Ä¡ Æ˾÷ ¼³Ä¡ django-preserializeocsa Á÷·ÄÈ µÈ »ç¿ëÀÚ °³Ã¼´Â ´ÙÀ½°ú °°½À´Ï´Ù. >>> preserialize.serialize °¡Á® ¿À±â Serialize >>> Serialize (»ç¿ëÀÚ) { 'date_joined': datetime.datetime (2009, 5, 16, 15, 52, 40, À̸ÞÀÏ ': u'jon@doe.com', 'first_name': u'jon ','±×·ì ': 'id': 1, 'is_active': true, 'is_staff': true, 'is_staff': true, 'last_login': datetime.datetime (2012, 3, 3, 17, 40, 41, 927637), 'last_name ': U'doe', 'password': u '!', 'user_permissions': , '»ç¿ëÀÚ À̸§': u'jdoe '} ÀÌ·± ´ÙÀ½ Serializer / Encoder·Î Àü´Þ µÉ ¼ö ÀÖ½À´Ï´Ù (¿¹ : JSON, ÀÀ´ä º»¹®ÀÇ ¹®ÀÚ¿·Î ¹Ù²Ù·Á¸é (¶Ç´Â ´ç½ÅÀÌ ¿øÇÏ´Â ´Ù¸¥ °Í)À»À§ÇÑ ¹®ÀÚ¿·Î º¯ÇÕ´Ï´Ù. Á¦Ç°ÀÇ È¨ÆäÀÌÁö
Django-preserialize °ü·Ã ¼ÒÇÁÆ®¿þ¾î