Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

General purpose versioning package for Django CMS 4 and above.

License

NotificationsYou must be signed in to change notification settings

django-cms/djangocms-versioning

Repository files navigation

Latest PyPI versionDjango versionsdjango CMS versions

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

Adddjangocms_versioning to your project'sINSTALLED_APPS.

Run:

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

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

Usage

Versioning integration instructions are available indocs/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.txtpython setup.py test

Documentation

We maintain documentation under thedocs folder using rst format.

To generate the HTML documentation you will need to installsphinx (pip install sphinx) andgraphviz (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 toget involved in the project andreceive 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 yourfeedback in the form of issues and pull requests. Before submitting yourpull request, please review ourcontribution guidelines.

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

We're grateful to all contributors who have helped create and maintainthis package. Contributors are listed at thecontributorssection.

One of the easiest contributions you can make is helping to translate this addon onTransifex.To update transifex translation in this repo you need to download thetransifex cli and runtx pull from the repo's root directory. After downloading the translationsdo not forget to run thecompilemessages management command.

About

General purpose versioning package for Django CMS 4 and above.

Resources

License

Security policy

Stars

Watchers

Forks

Packages

No packages published

Contributors38


[8]ページ先頭

©2009-2025 Movatter.jp