Django-shop-categories.

Django-Shop ¿ë Django-MPTT¸¦ ÀÌ¿ëÇÑ È®Àå °¡´ÉÇÑ Ä«Å×°í¸® ¾Û
Áö±Ý ´Ù¿î·Îµå

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

±¤°í

  • Rating:
  • ƯÇã:
  • BSD License
  • °¡°Ý:
  • FREE
  • °Ô½ÃÀÚ À̸§:
  • Oyvind Saltvik
  • °Ô½ÃÀÚ À¥»çÀÌÆ®:
  • http://github.com/fivethreeo/

Django-shop-categories. ű×


Django-shop-categories. ¼³¸í

Django-Shop-Categories´Â Django-ShopÀ» À§ÇØ Django-MPTT¸¦ »ç¿ëÇÏ´Â È®Àå °¡´ÉÇÑ Ä«Å×°í¸® ¾ÛÀÔ´Ï´Ù. ÇöÀç ¾ÈÁ¤ÀûÀÎ ¹öÀüÀÇ °æ¿ì : PIP ¼³Ä¡ Django-Shop-Categories °³¹ß ¹öÀü : PIP ¼³Ä¡ - GIT + Git : //github.com/ Fivethreeo / Django-shop-categories.git # °è¶õ = Django-shop-cateripsconfigurationadd shop_categories to settings.installed_apps.set shop_product_model to shop_categories.models.default.product.sefault.categoryproduct.in uri.pyÀÌ »ç¹° ÆÐÅÏÀ» Ãß°¡Çϱâ Àü¿¡ ´ÙÀ½À» Ãß°¡ÇϽʽÿÀ. URLPATTERNS + = ÆÐÅÏ ( '', URL (r '^ catalog / include ('shop_categories.urls 'Æ÷ÇÔ)), ½ÇÇà : manage.py syncdbextendingin ÀÚ½ÅÀÇ ¾ÛÀÌ __init__.py¿Í Ä«Å×°í¸®¸¦ °¡Áø ¸ðµ¨ µð·ºÅ丮¸¦ ¸¸µì´Ï´Ù. py dir, so : app / models / __ init __. pyapp / models / categy.pyin category.py:from django.db °¡Á® ¿À±â modelsfrom shop_categories.models.defaults.category.base °¡Á® ¿À±â productCategoryBaseClass ¹üÁÖ (productCategorybase) : image = models.imagefield (upload_to = 'categoryImages /', null = true, blank = true) Ŭ·¡½º ¸ÞŸ : Abstract = false app_ label = '¾Û'set shop_categories_category_model to oup.models.category.categorythen, Á¦Ç° ¸ðµ¨ÀÌ ¾ÆÁ÷ µ¿±âÈ­µÇÁö ¾Ê¾Ò´Ù°í °¡Á¤Çϸé, °ü¸® : manage.py syncdben °¡°Ô¿¡¼­ Á¦Ç° ¸ðµ¨ È®Àå shop_categories.models.defaults.product¿¡¼­ ÇÏÀ§ Ŭ·¡½º¸¦ È®ÀÎÇϽʽÿÀ. Base.CategoryProductBaseProductÀÇ È¨ÆäÀÌÁö


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