A collection of utilities for web projects based on Django.
This library is only compatible with Python 3.11+.
Add in your settings:
INSTALLED_APPS = [ # [...] 'django_web_utils', # to get translations of utils files # 'django_web_utils.file_browser', # 'django_web_utils.monitoring', # [...] ]All dependencies are required for the following commands (django, bleach and pillow).
make lint make deadcodemake generate_po make generate_moTo run all tests:
make testTo run a single test:
make test PYTEST_ARGS='-x tests/testapp/tests/test_csv_utils.py'make runWith antivirus:
make run NEED_CLAMAV=1make clean