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.2.tar.gz (23.2 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.2-py3-none-any.whl (33.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: djangocms_common_catalog-2.1.2.tar.gz
  • Upload date:
  • Size: 23.2 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.2.tar.gz
Algorithm Hash digest
SHA256 d3e0adf6c1f347a2f95c4f3675c36c935f69fb05ed23a79ec0d87a628d1cfe85
MD5 8f75c6460f99ea40baec0c916da3d8d3
BLAKE2b-256 214a69c9690e141c1c4c179c162546bbbd0570801d51669ca3fb44449299243a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for djangocms_common_catalog-2.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c4893c610630fc9b7426df7eb85749cbb98f6e6c2f3ebbe1e15f358f22ca1d68
MD5 3a8b646de2bfb8dc16c773263e6122a0
BLAKE2b-256 0905020c49028007ba51cdbb93f7e8ec7ecc72f8452f79280d017aa5128cd836

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