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

Uploaded Python 3

File details

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

File metadata

  • Download URL: django_cms_qe-4.6.0.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.0.tar.gz
Algorithm Hash digest
SHA256 abd83b1b284fb486f07d090afc79e84cabac6910fb260ca2b7eebbab50652d93
MD5 f9baa01b726467f39abfd9003f1821a4
BLAKE2b-256 94a61991a1cfd35794555f691ff5b705cf393d41dc70126db4320304f9627038

See more details on using hashes here.

File details

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

File metadata

  • Download URL: django_cms_qe-4.6.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 acb4de07a14e65dea9eddd9eff9bbb78c926ac698dcf3eca08dd718b7cef5497
MD5 06f32d74c98f46b35ce124e968174607
BLAKE2b-256 7552c6ff9c2dfbf3eef056c024aa86c929b203604061c59cb8028815cc8398b9

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