django-catalog 2.1.1

Django generic catalog application

  Add it to your Download Basket!

 Add it to your Watch List!

0/5

Rate it!
send us
an update
LICENSE TYPE:
GPL (GNU General Public License) 
USER RATING:
UNRATED
  0.0/5
DEVELOPED BY:
Ivan Gromov
HOMEPAGE:
pypi.python.org
CATEGORY:
ROOT \ Internet \ Django Plugins
1 django-catalog Screenshot:
django-catalog
django-catalog is a Django app that allows to organize objects in tree hierarchy.

This Documentation is poor for now, but it contains instructions how to set up application with default settings.

Install:


 Download django-catalog and include it into python path.

 Edit your settings.py this way:

 INSTALLED_APPS += [
 'catalog',
 'catalog.contrib.defaults',
 ]


And insert one of this strings into urlconf.py:

urlpatterns += patterns('',
 (r'^catalog/', include('catalog.urls.by_id')),
)


or

urlpatterns += patterns('',
 (r'^catalog/', include('catalog.urls.by_slug')),
)


Method by_id will configure views to display tree items urls like this: http://example.com/catalog/my-item-47/. Where my-item is object's slug, and 47 is TreeItem id attribute.

Method by_slug will configure views to display tree items urls like this: http://example.com/catalog/item-my-item/. Where my-item is object's slug, and item is Item models name.

Notice, that when you use method by_slug, every object MUST have slug attribute.

Last updated on February 10th, 2013

requirements

#organize object #tree hierarchy #Django #objects #organizer #tree

Add your review!

SUBMIT