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.1.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.1-py3-none-any.whl (32.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: djangocms_common_catalog-2.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 5ece5f5517c7bbb320245614c273cd6d15a7e3ed9f8ae59e31c8f86eb6bcd9f4
MD5 9e110777e61245ecff049e79b4c9bcc5
BLAKE2b-256 96c0b7bc222bf50316b49ca4e5bef0d06ff69ce08b9243978e1138887896905b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for djangocms_common_catalog-2.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5fa766352aa309cbbec3d37e840137f96111df8aa7c1b6af834895e24b1606a0
MD5 3e6c11071eb1d9fc99c474da85988364
BLAKE2b-256 c7de4469aa57ca7c08be502404416f9f946c2279a5e293b9c6d8d61af2e3706e

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