| Django-bop. DjangoÀÇ ±âº» ¿ÀºêÁ§Æ® ¼öÁØ ±ÇÇÑ (1.2+) |
Áö±Ý ´Ù¿î·Îµå |
Django-bop. ¼øÀ§ ¹× ¿ä¾à
- °Ô½ÃÀÚ À̸§:
- Peter van Kampen
- °Ô½ÃÀÚ À¥»çÀÌÆ®:
- http://datatailors.com
Django-bop. ű×
Django-bop. ¼³¸í
Django (1.2+)ÀÇ ±âº» ¿ÀºêÁ§Æ® ¼öÁØ »ç¿ë ±ÇÇÑ Django-BopÀº Django 1.2 ÀÌ»ó¿¡ ´ëÇÑ ±âº» ¿ÀºêÁ§Æ® ¼öÁØÀÇ »ç¿ë ±ÇÇÑÀ» Á¦°øÇÏ´Â Django ¾ÛÀÔ´Ï´Ù. ±×°ÍÀº Florian ApollonerÀÇ Django-Adition ±â»ç '°´Ã¼ »ç¿ë ±ÇÇÑ'À» ±â¹ÝÀ¸·ÎÇÕ´Ï´Ù. : PIP ¼³Ä¡ Django-Bopif ¶ÇÇÑ South : PIPµµ SouthAdd 'Bop'(¹× South)À» ¼³Ä¡ÇÏ¿© SouthAdd 'Bop'(¹× South)À» ¼³Ä¡ÇÕ´Ï´Ù. Settings.py:Installed_Apps = (... '' 'BOP', ''BOP ') Settings.py¿¡¼´Â authentication_backends = ( 'django.contrib.auth.backends.modelbackend', 'bop.backends.objectbackends.modelbackends.ObjectBackends.modelbackends.ObjectBackend')¸¦ ÁöÁ¤ÇÕ´Ï´Ù. ¼±ÅÃÀûÀ¸·Î ´ÙÀ½À» ¼öÇà ÇؾßÇÏ´Â ÀÍ¸í »ç¿ëÀÚ¿¡°Ô »ç¿ë ±ÇÇÑÀ» ºÎ¿©ÇÏ·Á¸é ´ÙÀ½À» ¼öÇàÇϽʽÿÀ. :1. ÀÍ¸í »ç¿ëÀÚ¸¦ ³ªÅ¸³»´Â Contrib.auth.models.user¿¡ »ç¿ëÀÚ¸¦ Ãß°¡ÇϽʽÿÀ (¿¹ : °ü¸®ÀÚ¸¦ ÅëÇØ). ±ÇÇÑÀ» ÇÒ´ç ÇÒ ¶§ ½±°Ô ÀÎ½Ä ÇÒ ¶§ ÀûÀýÇÑ À̸§ (anon / anonymous)À» Á¦°øÇϽʽÿÀ. anonymous_user_id to settings.py : anonymous_user_id = 2if, ¼±ÅÃÀûÀ¸·Î - ÀÍ¸í »ç¿ëÀÚÀÇ ¸ðµ¨ ±ÇÇÑÀ» Áö¿øÇÏ·Á´Â anonymousmodelbackend : authentication_backends = ( 'django.contrib.auth.backends.modelbackend) ','bop.backends.anonymousmodelbackend ','bop.backends.ObjectBackend ',) ¸ðµç ±¸¼ºÀÌ ¿Ï·áµÇ¸é µ¥ÀÌÅͺ£À̽º¸¦ ÃÖ´ëÇÑÀ¸·Î °¡Á® ¿À½Ê½Ã¿À. ./ manage.py ¸¶À̱׷¹ÀÌ¼Ç bop
Django-bop. °ü·Ã ¼ÒÇÁÆ®¿þ¾î