Django-Moat.

HTTP ±âº» ÀÎÁõÀÇ Ãß°¡ ·¹À̾î (°ø¿ë ½ºÅ×ÀÌ¡ / DEV ¼­¹ö¿ë)
Áö±Ý ´Ù¿î·Îµå

Django-Moat. ¼øÀ§ ¹× ¿ä¾à

±¤°í

  • Rating:
  • ƯÇã:
  • Other/Proprietary Li...
  • °¡°Ý:
  • FREE
  • °Ô½ÃÀÚ À̸§:
  • Andy Mroczkowski
  • °Ô½ÃÀÚ À¥»çÀÌÆ®:
  • http://amrox.github.com/

Django-Moat. ű×


Django-Moat. ¼³¸í

Django-MoatÀº HTTP Basic Auth¸¦ ÅëÇØ Ãß°¡ ÀÎÁõ °èÃþÀ» Ãß°¡ÇÏ´Â Django ¾ÛÀÔ´Ï´Ù. ±âº» »ç¿ë »ç·Ê´Â °ø¿ë ÀÎÅͳݿ¡¼­ ¾×¼¼½º Áغñ, °³¹ß ¶Ç´Â ±âŸ °³ÀÎ »çÀÌÆ®¸¦ ¹æÁöÇÏ´Â °ÍÀÔ´Ï´Ù. À¥ ¼­¹ö (Apache, NGINX)¿¡¼­ ±âº» ÀÎÁõÀ» ±¸¼ºÇÏ´Â °Í°ú °°Áö¸¸ °¡´ÉÇÏÁö ¾ÊÀº ȯ°æ¿¡¼­ ÀÛµ¿ÇÕ´Ï´Ù (Heroku). SourcePIP ¼³Ä¡¿¡¼­ ¼³Ä¡ - A Git + Https : //github.com/amrox/django-moat # egg = django-moatpypi ÆÐÅ°Áö°¡ »¡¸® ³ª¿É´Ï´Ù. monfigurationAdd moatmiddleware.middleware middleware_classes : middleware_classes = (# ±âÁ¸ ¹Ìµé¿þ¾î Ŭ·¡½º "moat.middleware.middleware" ¶Ç´Â ºñÈ°¼ºÈ­ ÇØÀÚ. (true_enabled = truehttp_auth_realm set basic auth realm http_auth_alm = 'app staging'moat_always_allow_views moAT_ALWAY_ALWAY_VIEWS = moat_always_allow_modules¸¦ ÅëÇØ Çã¿ëÇÏ´Â ¸ðµâ ¸ñ·Ï = UsageYour »çÀÌÆ®´Â ÀÌÁ¦ ºñ - È­ÀÌÆ®¸®½ºÆ® ºä¿¡ ¾×¼¼½ºÇϱâ Àü¿¡ Á÷¿ø ¼öÁØÀÇ »ç¿ëÀÚ¿Í ÀÎÁõÇؾßÇÕ´Ï´Ù. Django Admin¿¡¼­ Django Admin¿¡¼­ Django Admin¿¡¼­ Django AdminÀÇ Àü¿ë ½ºÅÂÇÁ ·¹º§ »ç¿ëÀÚ¸¦ Ãß°¡ÇÏ´Â °ÍÀÌ ÁÁ½À´Ï´Ù. °ü¸®º¸±â´Â ÇØ´ç¿¡ ÀÇÇØ Â÷´ÜµË´Ï´Ù. django-admin.py¸¦ »ç¿ëÇÏ¿© »ç¿ëÀÚ¸¦ ¸¸µé°Å³ª django.contrib.admin.sites¸¦ moat_always_allow_modules.productÀÇ È¨ÆäÀÌÁö¿¡ Ãß°¡ÇؾßÇÕ´Ï´Ù.


Django-Moat. °ü·Ã ¼ÒÇÁÆ®¿þ¾î