Django-selector.

WSGI ¼¿·ºÅ͸¦ ±â¹ÝÀ¸·ÎÇÏ´Â Django URLS µµ¿ì¹Ì
Áö±Ý ´Ù¿î·Îµå

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

±¤°í

  • Rating:
  • ƯÇã:
  • MIT/X Consortium Lic...
  • °¡°Ý:
  • FREE
  • °Ô½ÃÀÚ À̸§:
  • Jason Moiron
  • °Ô½ÃÀÚ À¥»çÀÌÆ®:
  • http://dev.jmoiron.net/hg/

Django-selector. ű×


Django-selector. ¼³¸í

Django URLS µµ¿ì¹Ì WSGI ¼±Åñ⸦ ±â¹ÝÀ¸·ÎÇÕ´Ï´Ù Django-Selector´Â WSGI ¿ë Luke ArnoÀÇ Selector¸¦ ±â¹ÝÀ¸·ÎÇÏ´Â DjangoÀÇ »ç¿ëÀÚ Á¤ÀÇ URL ÆÐÅÏ Æļ­ Ç÷¯±×ÀÎÀÔ´Ï´Ù. ÀÚÁÖ »ç¿ëµÇ´Â ÆÐÅÏ¿¡ ´ëÇÑ ¿ä¸®¹ýÀ» Á¦°øÇÔÀ¸·Î½á URL ÆÐÅÏÀÇ ±â·Ï ¹× Àб⸦ ´Ü¼øÈ­Çϵµ·Ï ¼³°èµÇ¾ú½À´Ï´Ù. Django-SelectorÀÇ Æļ­´Â Ŭ·¡½Ä Á¤±Ô½Ä URL ÆÐÅÏÀ» ¹«½ÃÇϹǷΠregexesÀÇ À¯¿¬¼ºÀÌ ÇÊ¿äÇÑ °æ¿ì ÀÏȸ¿ë URL ÆÐÅÏ¿¡ ´ëÇÑ µî·Ï ÈÄÇÁ¸¦ Á¡ÇÁ ÇÒ ÇÊ¿ä°¡ ¾ø½À´Ï´Ù. urls.py¿¡¼­ ÀÌ·¯ÇÑ ¸í¸í µÈ ÆÐÅÏÀ» »ç¿ëÇϸé ÀÏÄ¡ÇÏ´Â Ç׸ñ»Ó¸¸ ¾Æ´Ï¶ó ÀÏÄ¡ÇÏ´Â ¹æ¹ýÀ» ¸íÈ®È÷ÇÕ´Ï´Ù. ÆÐÅÏ ( 'foo.views', (r '^ / (? p + ) / (? PD *.? D +) / $ ','»öÀÎ ', {},'foo-index '))´Â parser.patterns ('foo.views ', (r'/ {name : slug} / {FOOS : number} / ','»öÀÎ ', {},'foo-index ')) PIP°¡ÀÖ´Â Django-Selector¸¦ ¼³Ä¡ÇÒ ¼ö ÀÖ½À´Ï´Ù : PIP ¼³Ä¡ Johnny-Cacheyou´Â HG ÀúÀå¼Ò¿¡¼­ Django-Selector¸¦ Æ÷Å© ÇÒ ¼ö ÀÖ½À´Ï´Ù. HG Ŭ·Ð HTTP : //dev.jmoiron.net/hg/django-selectoryou´Â Àüü ÇöÀç °³¹ß ¹®¼­ ¶Ç´Â ¸±¸®½º ¹®¼­¸¦ ÀÐÀ» ¼öµµ ÀÖ½À´Ï´Ù. ¿ä±¸ »çÇ× : ¡¤ ÆÄÀ̽㠡¤ Àå°í


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