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

Uploaded Python 3

File details

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

File metadata

  • Download URL: django_cms_qe-4.7.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.7.0.tar.gz
Algorithm Hash digest
SHA256 5221295a545d5cbfde00e2a2b4751453c5fe9575459c73da1ed888d4b06d1022
MD5 e938e7bd6701f391374ccad0b7bdbb02
BLAKE2b-256 b431a4130e284c34fdd53b84660a80de907c7044fd16c7affddf82b6b6df9bc4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: django_cms_qe-4.7.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.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bf8655d7b99823cc841d32774b699d2c80af3d3cd9210c164a8712a420d45ba3
MD5 2cc6394888c3f5e3ccd0394a4bb139ef
BLAKE2b-256 dbda16292f297cfbae2e517d2a1562a0aa4d6e418531d16f4a8f41221a16b061

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