redsolutioncms.django-easy-news.´º½º ÀÀ¿ë ÇÁ·Î±×·¥. »çÀÌÆ®¿¡ ´º½º¸¦ °Ô½Ã ÇÒ ¼ö ÀÖ½À´Ï´Ù. ´º½º ¾ÆÄ«À̺ê, Ķ¸°´õ ºí·Ï ¶Ç´Â ÃֽŠNÀ» Ç¥½Ã ÇÒ ¼ö ÀÖ½À´Ï´Ù ... | |
Áö±Ý ´Ù¿î·Îµå |
redsolutioncms.django-easy-news. ¼øÀ§ ¹× ¿ä¾à
±¤°í
redsolutioncms.django-easy-news. ű×
redsolutioncms.django-easy-news. ¼³¸í
´º½º ÀÀ¿ë ÇÁ·Î±×·¥. »çÀÌÆ®¿¡ ´º½º¸¦ °Ô½Ã ÇÒ ¼ö ÀÖ½À´Ï´Ù. ÅÛÇø´¿¡ ´º½º ¾ÆÄ«À̺ê, Ķ¸°´õ ºí·Ï ¶Ç´Â ÃֽŠ´º½º ºí·ÏÀ» Ç¥½Ã ÇÒ ¼ö ÀÖ½À´Ï´Ù. Django-tinymce¿Í ȣȯµÇ´Â °ü¸®ÀÚ ÆíÁý±â. redsolutioncms.django-easy-news ÀÀ¿ë ÇÁ·Î±×·¥Àº site.installation¿¡ ´ëÇÑ ´º½º ±â´ÉÀ» Á¦°øÇÕ´Ï´Ù. settings.py : 1. election_apps¿¡ EASY_NEWS¸¦ Ãß°¡ÇϽʽÿÀ. 2. ÀÌ¿Í °°Àº urls.py ( 'easy_news.urls')¸¦ Æ÷ÇÔÇÕ´Ï´Ù. UrlPatterns + = ÆÐÅÏ ( '', (r '^ ´º½º / Æ÷ÇÔ ('easy_news.urls 'Æ÷ÇÔ)),) »ç¿ë¹ý : Viewseasy ´º½º »ç¿ë Django ÀϹݺ¸±â ½Ã½ºÅÛÀ» ·»´õ¸µÇÏ´Â ½Ã½ºÅÛÀÔ´Ï´Ù. ½¬¿î ´º½º¿¡´Â ¿©·¯ URL Çڵ鷯°¡ ÀÖ½À´Ï´Ù (À̸§ ÁöÁ¤µÈ ÆÐÅÏÀ» ÀǹÌÇÕ´Ï´Ù) : * NEWS_DETAIL - ´º½º ÀÚü Ç¥½Ã * ´º½º _LIST - SETTINGS.ENABLE_NEWS_LIST°¡ TRUE ÀÎ °æ¿ì NEWS_SETTINGS.ENALL_NEWS_ARCHIVE_INDEX°¡ TRUE ÀÎ °æ¿ì ´º½º ´º½º * NEWS_ARCHIVE_INDEXÀÇ ¸ñ·ÏÀ» º¸¿©ÁÝ´Ï´Ù. Django.viewsÀÇ ³»¿ëÀ» º¸¿©ÁÝ´Ï´Ù. generic_indexº¸±â * news_archive_year, news_archive_year, news_archive_day - settings.enable_news_date_archive°¡ true·Î ´º½º ¾ÆÄ«À̺긦 Ç¥½ÃÇÕ´Ï´Ù. * news_tag_detail - django-tagging ¹× settings.news_taggingÀ» »ç¿ëÇÏ´Â °æ¿ì true, easy_news űװ¡ ÁöÁ¤µÈ newstemplate ÅÂ±× ¸ñ·ÏÀ» Á¦°øÇÕ´Ï´Ù. EASY_NEWS ÅÛÇø´ ű׸¦ »ç¿ëÇÏ·Á¸é EASY_NEWS_TAGS¸¦·ÎµåÇϽʽÿÀ. {% Load MenuProxy_Tags %} show_newsshows num ÃֽŠ´º½º ¸ñ·Ï. ±âº»ÀûÀ¸·Î 5 °³ÀÇ ´º½º : {% show_news
redsolutioncms.django-easy-news. °ü·Ã ¼ÒÇÁÆ®¿þ¾î