Skip to main content

No project description provided

Project description

django djangocms4

django CMS Versioning

Installation

Requirements

django CMS Versioning requires that you have a django CMS 4.0 (or higher) project already running and set up.

To install

Run:

pip install djangocms-versioning

Add djangocms_versioning to your project’s INSTALLED_APPS.

Run:

python -m manage migrate djangocms_versioning
python -m manage create_versions --user-id <user-id-of-migration-user>

to perform the application’s database migrations and (only if you have an existing database) add version objects needed to mark existing versions as draft.

Usage

Versioning integration instructions are available in docs/versioning_integration.rst

An example implementation can be found here:

Testing

To run all the tests the only thing you need to do is run

pip install -r tests/requirements.txt python setup.py test

Documentation

We maintain documentation under the docs folder using rst format.

To generate the HTML documentation you will need to install sphinx (pip install sphinx) and graphviz (as per your operating system’s package management system). You can then generate the docs using the following command:

Run:

cd docs/
make html

This should generate all html files from rst documents under docs/_build folder, which can be browsed.

Contributing

Because this is a an open-source project, we welcome everyone to get involved in the project and receive a reward for their contribution. Become part of a fantastic community and help us make django CMS the best CMS in the world.

We’ll be delighted to receive your feedback in the form of issues and pull requests. Before submitting your pull request, please review our contribution guidelines.

The project makes use of git pre-commit hooks to maintain code quality. Please follow the installation steps to get pre-commit setup in your development environment.

We’re grateful to all contributors who have helped create and maintain this package. Contributors are listed at the contributors section.

One of the easiest contributions you can make is helping to translate this addon on Transifex. To update transifex translation in this repo you need to download the transifex cli and run tx pull from the repo’s root directory. After downloading the translations do not forget to run the compilemessages management command.

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_versioning-2.1.0.tar.gz (595.6 kB view details)

Uploaded Source

Built Distribution

djangocms_versioning-2.1.0-py3-none-any.whl (681.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: djangocms_versioning-2.1.0.tar.gz
  • Upload date:
  • Size: 595.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for djangocms_versioning-2.1.0.tar.gz
Algorithm Hash digest
SHA256 9fd21d9152864023156aa8d19c68cd2745667276daef2fcfbf1fe7b28e7d8ebb
MD5 41da2421ed85037fe1dd36d97ec98745
BLAKE2b-256 456cc90ae0b3448d18d410f8b164db0d35cc4c364395e2bbb0030df62f6c0af3

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for djangocms_versioning-2.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f7197609632bbc6b7372a14db92a860a2bc827eb2185101d59228a0a25a70623
MD5 857407399b99c747d93cc4bd14497391
BLAKE2b-256 1889821ff42cc85bc55ec0173336ce4495797d2558c595756996e0be1d287c74

See more details on using hashes here.

Provenance

Supported by

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