django-catalog 2.0.2
Django generic catalog application. Organize objects in tree structure, allows to make links for objects.
Latest Version: 2.0.5
Application allows to organize objects in tree hierarhy.
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.
Classifiers:
| File | Type | Py Version | Uploaded on | Size | # downloads |
|---|---|---|---|---|---|
| django-catalog-2.0.2.tar.gz (md5) | Source | 2011-10-03 | 33KB | 345 | |
- Author: Ivan Gromov
- Keywords: django catalog
- License: GPL
-
Categories
- Development Status :: 3 - Alpha
- Environment :: Web Environment
- Framework :: Django
- Intended Audience :: Developers
- License :: OSI Approved :: GNU General Public License (GPL)
- Natural Language :: English
- Natural Language :: Russian
- Operating System :: OS Independent
- Programming Language :: Python
- Topic :: Internet :: WWW/HTTP :: Dynamic Content :: News/Diary
- Package Index Owner: Redsolution
- DOAP record: django-catalog-2.0.2.xml
