Django-registration-defaults.Àüü ·Î±×ÀÎ, ·Î±× ¾Æ¿ô, µî·Ï ¹× Åë°ú¸¦ ¼öÇàÇÏ´Â µ¥ ÇÊ¿äÇÑ 15 °³ÀÇ ÅÛÇø´ÀÇ ±âº» ±¸Çö ... | |
Áö±Ý ´Ù¿î·Îµå |
Django-registration-defaults. ¼øÀ§ ¹× ¿ä¾à
±¤°í
- ƯÇã:
- MIT/X Consortium Lic...
- °Ô½ÃÀÚ À̸§:
- Charlie DeTar
- °Ô½ÃÀÚ À¥»çÀÌÆ®:
- http://olwidget.org
Django-registration-defaults. ű×
Django-registration-defaults. ¼³¸í
Django-registrationÀ» »ç¿ëÇÒ ¶§ Àüü ·Î±×ÀÎ, ·Î±× ¾Æ¿ô, µî·Ï ¹× ¾ÏÈ£ °Ë»öÀ» ¼öÇàÇÏ´Â µ¥ ÇÊ¿äÇÑ 15 °³ÀÇ ÅÛÇø´ÀÇ ±âº» ±¸Çö James BennetÀÇ Django µî·ÏÀº ±²ÀåÇÕ´Ï´Ù. ±×·¯³ª µî·Ï, ·Î±×ÀÎ / ·Î±× ¾Æ¿ô ¹× ¾ÏÈ£ º¯°æ ¹× Àç¼³Á¤ÀÇ ¿öÅ© Ç÷ο츦 ±¸ÇöÇÏ´Â µ¥ ÇÊ¿äÇÑ 15 °³ÀÇ ÅÛÇø´ÀÌ Á¦°øµÇÁö ¾Ê½À´Ï´Ù. ÀÌ ÀÀ¿ë ÇÁ·Î±×·¥Àº refiting them.django-registration-defaultsÀÇ ¹Ýº¹À» ÇÇÇϱâ À§ÇØÀÌ ÀÀ¿ë ÇÁ·Î±×·¥À» »ç¿ëÇÏ¿© Django ¾Û ÀÎ Django ¾Û ÀÎ Django ¾ÛÀÔ´Ï´Ù. Python ¸ðµâ¿¡ ´ëÇÑ ¿øÇÏ´Â ¹æ¹ýÀ» »ç¿ëÇÏ¿© ¼³Ä¡ÇؾßÇÕ´Ï´Ù. ...¿¡ registration_defaults Æú´õ´Â ÆÄÀ̽㠰æ·Î¿¡¼ Á¾·áµÇ¾î¾ßÇÕ´Ï´Ù. Æú´õ¸¦ °æ·Î·Î º¹»çÇϰųª ½ÉÁõÇÏ¿© ÇÒ ¼ö ÀÖ½À´Ï´Ù. Python Setup.py Installmy ±âº» ¹æ¹ý (±×¸®°í ¸¹Àº Django °³¹ßÀÚÀÇ °æ¿ì ¸¹Àº Django °³¹ßÀÚÀÇ °æ¿ì)Àº VirtualEnV¸¦ »ç¿ëÇÏ¿© PIP¸¦ »ç¿ëÇÏ¿© Git ¼Ò½º¿¡¼ ¼³Ä¡ÇÏ´Â °ÍÀÔ´Ï´Ù. ÀÌ (¹× Dependency Django-registration)ÀÇ ¿ä±¸ »çÇ× ÆÄÀÏ Ç׸ñÀº ´ÙÀ½°ú °°½À´Ï´Ù. Django-registration-e git : //github.com/yourcelf/django-registration-defaults.git#egg=django-registration-defaultssetupconfiguration ¸Å°³ º¯¼ö ÇÊ¿ä Django µî·ÏÀº ¸ðµâ registration_defaults.settings¿¡ ¼³Á¤µË´Ï´Ù. registration_defaults.settings °¡Á® ¿À±â *¿¡¼ ¼³Á¤ ÆÄÀÏ¿¡¼ ¼³Á¤ ÆÄÀÏ·Î °¡Á® ¿À´Â °ÍÀ» Ãß°¡ÇϽʽÿÀ. django.template.loaders.app_directories.loaders.app_directories.loader ÅÛÇø´ ·Î´õ¸¦ »ç¿ëÇÏ´Â °æ¿ì ÅÛÇø´À» Ãß°¡ ÇÒ ¼ö ÀÖ½À´Ï´Ù (±âº»ÀûÀ¸·Î »ç¿ë °¡´É) ), ÇÁ·ÎÁ§Æ®ÀÇ index_apps ¼³Á¤¿¡ "registration_defaults"¸¦ Ãß°¡ÇÏ¿© ÅÛÇø´À» Æ÷ÇÔ ÇÒ ¼ö ÀÖ½À´Ï´Ù. °ü¸®ÀÚ´Â ¾ÏÈ£¸¦ º¯°æÇÏ°í °Ë»öÇϱâÀ§ÇÑ ÀϺΠÅÛÇø´À» Á¤ÀÇÇϹǷΠ¸ðµç µî·Ï ¹× ·Î±×ÀÎ / ·Î±× ¾Æ¿ô ±â´É¿¡ ´ëÇØ ÀÏ°üµÈ ±âº» ÅÛÇø´ ¹× ½ºÅ¸ÀϸµÀ» »ç¿ëÇÏ·Á¸é django.contrib.admin Àü¿¡ registration_defaults¸¦ Ãß°¡ÇؾßÇÕ´Ï´Ù. : installated_apps = (... "registration_defaults", "django.contrib.admin", ... "µî·Ï",) ¶Ç´Â django.template.loaders.filesystem.loader°¡ ¾Û µð·ºÅ丮 ·Î´õ Àü¿¡ ³ª¿µÇ¸é Ãß°¡ ÇÒ ¼ö ÀÖ½À´Ï´Ù. registration_template_dir to template_dirs ¼³Á¤. ÀÌ·¸°ÔÇϸé registration_defaults¸¦ ¼³Ä¡ÇÒ ÇÊ¿ä°¡ ¾ø½À´Ï´Ù. registration_defaults.settings °¡Á® ¿À±â * template_dirs = (... registration_template_dir,) ±âº» TemplatesAll registration_defaults ÅÛÇø´Àº µî·Ï / registration_base.html¿¡¼ »ó¼ÓµË´Ï´Ù. ÀÌ°Í¿¡ Á¦°øµÈ ±âº» ÅÛÇø®Æ®´Â ´Ü¼øÈ÷ ´ÙÀ½°ú °°½À´Ï´Ù. {% È®Àå "%} µî·Ï ÅÛÇø´ÀÌ µî·Ï / registration_base.html¿¡¼ »ó¼Ó ¶Ç´Â ¹«½ÃÇÒ µî·Ï ÅÛÇø´¿¡ ´ëÇÑ base.htmlÀ» Á¦°øÇؾßÇÕ´Ï´Ù. ±âº» ÅÛÇø´Àº HTML ŸÀÌƲÀÇ ³»¿ë°ú ÄÜÅÙÃ÷¿¡ ´ëÇÑ ÄÜÅÙÃ÷ ºí·ÏÀ» Á¦°øÇؾßÇÕ´Ï´Ù (Âü°í : ÀÌ°ÍÀº ÀÌÀü¿¡ º»¹®À» »ç¿ëÇÏ¿© Àç»ç¿ë °¡´ÉÇÑ ¾Û Ç¥ÁØ¿¡ ´õ ¸¹Àº °ÍÀ¸·Î º¯°æµÇ¾ú½À´Ï´Ù). ¿¹ :
Django-registration-defaults. °ü·Ã ¼ÒÇÁÆ®¿þ¾î