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.7.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.7.1-py3-none-any.whl (8.1 MB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for django_cms_qe-4.7.1.tar.gz
Algorithm Hash digest
SHA256 37d8c5bfc3e386a83c843db4194a442f2f4cefafe8abb491c8198784071107a7
MD5 731eb9576dd0916055a949a4a898652c
BLAKE2b-256 c476dfc2579ccab509b9eadccd39e1d5636ae52aa53f2107276318f245890939

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for django_cms_qe-4.7.1-py3-none-any.whl
Algorithm Hash digest
SHA256 58ae035f88698d81d8ee75fe38cfb507658edbcd96c66706c9e692f9ee62bf8d
MD5 5e05ad38570c8032f025a9184567d024
BLAKE2b-256 75403fdad8144de77d44e3e40acd5eef01824360bd456c04a6991bebd8b9c756

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