Hello! For the first time I put Django on the Apache server and when I start it in the Apache log this error:

Error

mod_wsgi (pid=1973): Target WSGI script '/var/www/html/telegramApi/telegramApi/wsgi.py' canno$ mod_wsgi (pid=1973): Exception occurred processing WSGI script '/var/www/html/telegramApi/tel$ Traceback (most recent call last): File "/var/www/html/telegramApi/telegramApi/wsgi.py", line 17, in from django.core.wsgi import get_wsgi_application File "/usr/local/lib/python3.7/site-packages/django/init.py", line 1, in from django.utils.version import get_version File "/usr/local/lib/python3.7/site-packages/django/utils/version.py", line 7, in from django.utils.regex_helper import _lazy_re_compile File "/usr/local/lib/python3.7/site-packages/django/utils/regex_helper.py", line 10, in from django.utils.functional import SimpleLazyObject File "/usr/local/lib/python3.7/site-packages/django/utils/functional.py", line 362, in class SimpleLazyObject(LazyObject): TypeError: Error when calling the metaclass bases 'property' object is not callable

Вернуться на верх