Skip to main content

Django CMS Quick & Easy provides all important modules to run new page withouta lot of coding. Aims to do it very easily and securely.

Project description

Django CMS QE

Django CMS Quick & Easy provides all important modules to run new page without a lot of coding. Aims to do it very easily and securely.

For more information please read documentation or GitLab.

Development

To prepare your dev environment run this command:

make prepare-dev  (run with apt get update)
make prepare-env

Caution! It is allowed only Python >= 3.9 due to typing:

VENV_PYTHON=/usr/bin/python3.9 make prepare-venv

To prepare the explicit python version into the explicit folder:

VENV_PATH=/home/username/venv VENV_PYTHON=/usr/bin/python3.9 make prepare-venv
export VENV_PATH=/home/username/venv

To run tests or lint use this commands:

make test
make lint

To run only particular test:

make test=cms_qe_table/tests/test_utils.py::test_get_model_by_table test

To run example use this command:

make run-example

To call other Django commands:

make cmd  (List django commands, same like --help)
make cmd=dbshell cmd
make cmd='createsuperuser --username=dave --email=dave@rd.foo' cmd

To find more useful commands, run just make.

Upgrade

To upgrade from version 2.2 to version >= 3.0.0, you can use the DjangoCMS upgrade plugins tool.

Example in Docker

Download example:

curl https://gitlab.nic.cz/websites/django-cms-qe/-/archive/master/django-cms-qe.zip?path=example --output example.zip

Unzip and go to the example folder:

unzip example.zip
cd django-cms-qe*/example/

Build the site image:

docker compose build

Run website in docker:

docker compose up -d

See the website at http://localhost:8000/. Login into http://localhost:8000/admin/ as username admin with password admin. To run on a different port, specify the PORT parameter:

PORT=8008 docker compose up -d

Please wait a moment before browsing the website. It takes a while for all migrations to be completed and data to be loaded. You can monitor the status of this process in the log:

docker compose logs -f web

Stop the website:

docker compose down

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

django_cms_qe-4.6.1.tar.gz (7.0 MB view details)

Uploaded Source

Built Distribution

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

django_cms_qe-4.6.1-py3-none-any.whl (8.1 MB view details)

Uploaded Python 3

File details

Details for the file django_cms_qe-4.6.1.tar.gz.

File metadata

  • Download URL: django_cms_qe-4.6.1.tar.gz
  • Upload date:
  • Size: 7.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.3

File hashes

Hashes for django_cms_qe-4.6.1.tar.gz
Algorithm Hash digest
SHA256 1cdde43d5df824ed75bdbc652c2dbd3bf27a82d1ce517221fd83b19ae9f2e268
MD5 ec7a877ba543278ac550fa80fe678279
BLAKE2b-256 1bf5a0f1e431a9debf53449f0d63717e0a464937337bcd8f5b108277ada3841a

See more details on using hashes here.

File details

Details for the file django_cms_qe-4.6.1-py3-none-any.whl.

File metadata

  • Download URL: django_cms_qe-4.6.1-py3-none-any.whl
  • Upload date:
  • Size: 8.1 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.3

File hashes

Hashes for django_cms_qe-4.6.1-py3-none-any.whl
Algorithm Hash digest
SHA256 083020394e349766d99a0edb15b8f10236b866ab0d8331a8f360faac425f0f8d
MD5 cde677952b7d13f0ec318374b4f224fd
BLAKE2b-256 7f4a3fe9815818780e6dfa3d7ae8d8600da73cccdd9977cb9bbc7b47254f5887

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