Django-better500s. ¼øÀ§ ¹× ¿ä¾à
- ƯÇã:
- MIT/X Consortium Lic...
- °Ô½ÃÀÚ À̸§:
- Steven Skoczen
- °Ô½ÃÀÚ À¥»çÀÌÆ®:
- https://github.com/GoodCloud/
Django-better500s. ű×
Django-better500s. ¼³¸í
Django-Better500s´Â 500 °³ÀÇ ¿À·ù¸¦ ´õ »ç¿ëÀÚ Ä£ÈÀûÀÌ¸ç °³¹ßÀÚ Ä£ÈÀû ÀÎ Django ¾ÛÀÔ´Ï´Ù. Àüü ¿À·ù ÃßÀû (µð¹ö±× ¸ðµå¿¡¼¿Í °°ÀÌ)À» ±â·ÏÇÏ°í »ç¿ëÀÚÀÇ ¼³¸í¿¡ ´ëÇÑ »ç¿ëÀÚÀÇ ¼³¸íÀº Ʋ¸²¾øÀÌ È¯¿µÇÕ´Ï´Ù! ¼³Ä¡ 1. `PIP´Â Django-Better500s`¸¦ ¼³Ä¡ÇÕ´Ï´Ù. `settings.py :`installation_apps + = ( "betters500s",) middleware_classes + = ( "better500s.middleware.better500s",) # ¿É¼Ç ¼³Á¤ (¾Æ·¡)À» ¼³Á¤ÇϽʽÿÀ. 500_default_return_url_name = "home_page"better_500_log_dir = °¡ÀÔ (project_root, ' ·Î±×ÀÇ ','better_500 ') better_500_from_email = "foo@example.com"better_500_to_emails = better_500_ uncaught_dir = "ÀâÈ÷Áö ¾ÊÀº ·Î±×"4. URL¿¡ Ãß°¡ : URLPATTERNS + = ÆÐÅÏ ( '', URL (R'BETTER500S / ', Æ÷ÇÔ ('better500s.urls ', namespace = "betters500s", app_name ='better500s))))). ´õ ³ªÀº ¿À·ùº¸°í¸¦ Áñ±â½Ê½Ã¿À. ±×°ÍÀº ÀÛµ¿ÇÕ´Ï´Ù : 1. 500 ¿À·ù (Àü¿ë)°¡ Àâ½À´Ï´Ù .2. Àüü µð¹ö±× ÆäÀÌÁö ÃßÀûÀÌ »ý¼ºµÇ°í`UNCAGLAT_DIR`.3¿¡ ÀúÀåµË´Ï´Ù. "¿ì¸®´Â Á˼ÛÇÕ´Ï´Ù."´ç½ÅÀÌ ¹«¾ùÀ»ÇÏ°í ÀÖ´ÂÁö "Page Loads.4. ºÎÇÏ¿¡¼ Ajax´Â Server.5¸¦ ÇÎÇÕ´Ï´Ù. Ping¿¡¼º¸±â´Â ·Î±×¸¦ ³¯Â¥ ±¸¼º Æú´õ¿¡ ·Î±× ÆÄÀÏ·Î º¸³»°í`to_emails`¸¦ ¸µÅ©·Î À̸ÞÀÏ·Î º¸³À´Ï´Ù. »ç¿ëÀÚ°¡ º¸°í¼¸¦ Á¦ÃâÇϸé ÇØ´ç º¸°í¼°¡ ·Î±× ÆÄÀÏ¿¡ ¿¬°áµÇ¾îÀÖ´Â µ¥ÀÌÅͺ£À̽º¿¡ ÀúÀåµË´Ï´Ù. µÎ ¹ø° À̸ÞÀÏÀº »ç¿ëÀÚÀÇ º¸°í¼¿Í ÇÔ²² Àü¼ÛµË´Ï´Ù. °ü¸®ÀÚ´Â ºä ¸µÅ©¸¦ Ŭ¸¯ÇÏ°í Àüü ÃßÀûÀ» º¼ ¼ö ÀÖÀ¸¸ç »ç¿ëÀÚÀÇ report.productÀÇ È¨ÆäÀÌÁö¸¦ ÂüÁ¶ÇϽʽÿÀ.
Django-better500s. °ü·Ã ¼ÒÇÁÆ®¿þ¾î