| django_couchdb_utils. ´Ù¾çÇÑ Django ¹é¿£µå¿¡ ´ëÇÑ ±¸ÇöÀ» Á¦°øÇÕ´Ï´Ù. |
Áö±Ý ´Ù¿î·Îµå |
django_couchdb_utils. ¼øÀ§ ¹× ¿ä¾à
- °Ô½ÃÀÚ À¥»çÀÌÆ®:
- http://skoegl.net
django_couchdb_utils. ű×
django_couchdb_utils. ¼³¸í
´Ù¾çÇÑ Django ¹é¿£µå¿¡ ´ëÇÑ ±¸ÇöÀ» Á¦°øÇÕ´Ï´Ù django_couchdb_utilsÀÇ ¸ñÇ¥´Â couchdbkit¸¦ »ç¿ëÇÏ¿© django¿¡¼ »ç¿ë µÈ RDBMS ƯÁ¤ ¹é¿£µå¸¦ CouchDB·Î ´ëüÇÏ´Â °ÍÀÔ´Ï´Ù. CouchDB ÀúÀå¼Ò¸¦ »ç¿ëÇÏ´Â OpenID ¼ÒºñÀÚ (Django-OpenID°¡ ÇÊ¿äÇÔ)ÀÌ ¶óÀ̺귯¸®¸¦ »ç¿ëÇÏ·Á¸é CouthDbkit¸¦ ¼³Ä¡ÇÏ°í Settings.pyInstall ÀüÇ°ÀÇ Installation_Apps¿¡ Django_CouchDB_UTILS ¾ÛÀ» Settings.py : ... "Django_CouchDB_UTILS.AUTH"·Î ÂüÁ¶ÇϽʽÿÀ. "django_couchdb_utils.sessions", "django_couchdb_utils.cache", ... couchdb_databases (couchdbkit¿¡¼ »ç¿ëµÇ´Â) couchdb utils ¾ÛÀ» Ãß°¡ÇÏ´Â °Í : ( 'django_couchdb_utils_auth', 'http://127.0.0.1 :' 5984 / AuthDB '), ('DJango_CouchDB_UTILS_SESSIONS ','http://127.0.0.1:5984/sessionsdb '), ('DJango_couchdb_utils_cache ','http://127.0.0.1:5984/cachedb '), ... ±×·¸Áö ¾ÊÀ¸¸é couchdbkitÀ» »ç¿ëÇÏÁö ¸¶½Ê½Ã¿À. Settings.py¿¡ ´ÙÀ½À» Ãß°¡ÇϽʽÿÀ. CouchDB_Databases = (( 'django_couchdb_utils_auth', 'http://127.0.1.1:5984/somedb'), ...) ¶óÀ̺귯¸®°¡ ID¿¡ ´ëÇÑ °¡Á¤À»ÇÏÁö ¾ÊÀ¸¹Ç·Î CouchDB °´Ã¼°¡ ÀúÀåµÇ¸é ÀÌ¹Ì ±âÁ¸ µ¥ÀÌÅͺ£À̽º¿Í ÇÔ²² »ç¿ëÇÏ´Â °ÍÀÌ ¾ÈÀüÇÕ´Ï´Ù. ÀÎÁõ Áö¿øÀ» »ç¿ëÇÏ·Á¸é ´ÙÀ½°ú °°ÀÌ Settings.pyÀÇ Authentication_Backends ¼Ó¼ºÀ» Ãß°¡ÇÕ´Ï´Ù. Authentication_Backends = ( 'django_couchdb_utils.auth.backends.couchdbauthbackend')¸¦ »ç¿ëÇÏ¿© ij½Ã Áö¿øÀ» »ç¿ëÇϵµ·Ï ¼³Á¤ÇÕ´Ï´Ù. cache_backend = "cache.couch : / / "session_engine ="django_engine = "django_couchdb_utils.sessions.couchdb"¿¡¼ ¼¼¼Ç Áö¿øÀ» »ç¿ëÇϵµ·Ï ¼³Á¤ÇÕ´Ï´Ù. couchdb ÀüÀÚ ¸ÞÀÏ Ä³½Ã ¹é¿£µå¸¦ »ç¿ëÇÏ·Á¸é email_backend = "django_couchdb_utils.Email°ú °°Àº setforing.py¿¡¼ email_backend ¼Ó¼ºÀ» ¼³Á¤ÇϽʽÿÀ. couchdbemailbackend "# couchdb caching backend couchdb_email_backend = 'django.core.mail.backends.filebased.emailbackend'¿ä±¸ »çÇ× : ¡¤ ÆÄÀ̽㠡¤ Àå°í
django_couchdb_utils. °ü·Ã ¼ÒÇÁÆ®¿þ¾î