Skip to main content

DjangoCMS Common Catalog

Project description

Common Catalog

Common catalog for various uses.

The program is built on the Django CMS framework.

The program itself does not contain any cascading styles or javascript code.

Install

Install the package from pypi.org.

pip install djangocms-common-catalog

Add into INSTALLED_APPS in your site settings.py:

INSTALLED_APPS = [
    ...
    'common_catalog',
]

Extra settings

  • COMMON_CATALOG_TEMPLATE_LIST - custom template for the list of items.
  • COMMON_CATALOG_TEMPLATE_DETAIL - custom template the Item detail.
  • COMMON_CATALOG_LOCATIONS - Custom filter location names.
  • COMMON_CATALOG_FILTER_QUERY_NAME - URL query name. Default is cocaf.
  • COMMON_CATALOG_DETAIL_PARENT_TEMPLATE - Name of parent template on Item detail page.

Temporary fix

There was a problem with editing items when switching to CMS 4. An exception AttributeError occurs: type object 'Meta' has no attribute 'model'. Until the problem is resolved, you can apply a patch on github.com.

django-parler @ git+https://github.com/zbohm/django-parler.git@d448685ba3a2614aeb8f4df9e422a924a3c34ec2

License

GPLv3+

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

djangocms_common_catalog-2.1.0.tar.gz (22.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

djangocms_common_catalog-2.1.0-py3-none-any.whl (32.5 kB view details)

Uploaded Python 3

File details

Details for the file djangocms_common_catalog-2.1.0.tar.gz.

File metadata

  • Download URL: djangocms_common_catalog-2.1.0.tar.gz
  • Upload date:
  • Size: 22.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.3

File hashes

Hashes for djangocms_common_catalog-2.1.0.tar.gz
Algorithm Hash digest
SHA256 27ace7c8fe073ce3f661f015b506fafdd0b0b71c0b74ccf8e431b0a8990522b4
MD5 414a4f68845e71c215e4de8f4a99bdba
BLAKE2b-256 e5494dad55c6614809adf6a59aa149ef6be1c8750b6b47fb9264e5773a7f2a9f

See more details on using hashes here.

File details

Details for the file djangocms_common_catalog-2.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for djangocms_common_catalog-2.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e8488237b2d71473da6f163abaf64c5a5f95ff2215e9edad7f190571f322e60e
MD5 6a2e56bc9453a404718a465c2fadf9a9
BLAKE2b-256 f066e67cade1992f1b7a2b8ed9f777748b5c3b6e79ff24766e00fa872aab01ea

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