Skip to main content

Django generic catalog application. Organize objects in tree structure, allows to make links for objects.

Project description

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:

  1. Download django-catalog and include it into python path.

  2. 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:

Frontpage handlers

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

redsolutioncms.django-catalog-2.0.2.tar.gz (34.0 kB view details)

Uploaded Source

File details

Details for the file redsolutioncms.django-catalog-2.0.2.tar.gz.

File metadata

File hashes

Hashes for redsolutioncms.django-catalog-2.0.2.tar.gz
Algorithm Hash digest
SHA256 394167206583b27ab7dea75cd66d1493c0145d19785fd6c98b02cb7aaa2e5456
MD5 ff209f06df73d5b7c21cfc05292d81cc
BLAKE2b-256 2dfe8bfeaf9e9bd060f7f6aa0e60039cd43dc7e866877989d397462a994664c2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page