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

Uploaded Python 3

File details

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

File metadata

  • Download URL: django_cms_qe-4.5.2.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.5.2.tar.gz
Algorithm Hash digest
SHA256 e02699a85744f0644e7e34dceef41caacb2854c7b677d16a7fcdeec2f6af60d0
MD5 cc7e1d726ee9edaf51d40e6df3c0867a
BLAKE2b-256 96a6878e2084a9d88f661a35654f694c0753103ad814bf8ff2787b73cf2f9b57

See more details on using hashes here.

File details

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

File metadata

  • Download URL: django_cms_qe-4.5.2-py3-none-any.whl
  • Upload date:
  • Size: 8.2 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.5.2-py3-none-any.whl
Algorithm Hash digest
SHA256 308fa041c0c2a8342f7ba128878fc5665cb717cdd4654db9d11f73ebc0f41777
MD5 99cb153439040268d3fb36ec12176bfd
BLAKE2b-256 d0b3b21002d8a262174768f5f5cc507a6bf2ad3cfd50df521828a1014c37e325

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