Compare commits

..

No commits in common. "4e22d6c6030adb3e473b14a7a735160f52f1fc21" and "63592f6c03653856b1bd64442fb0682c8afb8874" have entirely different histories.

9 changed files with 1088 additions and 1520 deletions

View File

@ -221,8 +221,8 @@ media/
# Configuration file with private data: # Configuration file with private data:
*.env # *.env
.env # .env
# Local settings files: # Local settings files:
*local.py *local.py

View File

@ -0,0 +1 @@
3.8.9

View File

@ -1,46 +0,0 @@
# === General ===
DOMAIN_NAME=localhost
TLS_EMAIL=webmaster@localhost
GITHUB_USERNAME=
GITHUB_TOKEN=
# === Django ===
# Generate yours with:
# python3 -c 'from django.utils.crypto import get_random_string; print(get_random_string(50))'
DJANGO_SECRET_KEY=I^[!b6gyNlXmaI,/{tagz+>:4V]%HJNW(=(@:*T~)g-t47tc7y
# === Database ===
# These variables are special, since they are consumed
# by both django and postgres docker image.
# Cannot be renamed if you use postgres in docker.
# See: https://hub.docker.com/_/postgres
POSTGRES_DB=github-repos
POSTGRES_USER=github-admin
POSTGRES_PASSWORD=admin_password
# Used only by django:
DJANGO_DATABASE_HOST=db
DJANGO_DATABASE_PORT=5432
# ==== Email =======
EMAIL_HOST=smtp.yandex.ru
EMAIL_HOST_USER=balsh-django@yandex.ru
EMAIL_HOST_PASSWORD=
EMAIL_PORT=465
EMAIL_USE_SSL=True
EMAIL_USE_TLS=False
# =======RabbitMQ=======
RABBITMQ_DEFAULT_USER=rabbit_admin
RABBITMQ_DEFAULT_PASS=mypass
RABBITMQ_PORT=5672
RABBITMQ_HOST=rabbitmq_host

View File

@ -1,14 +1,6 @@
version: "3.9" #!/usr/bin/env bash
networks: version: "3.7"
# Network for your internals, use it by default:
webnet:
name:
github_network
volumes:
pgdata:
name: github_pgdata
networks: networks:
# Network for your internals, use it by default: # Network for your internals, use it by default:
@ -22,7 +14,7 @@ volumes:
services: services:
db: db:
image: "postgres:14.4" image: "postgres:12"
container_name: github_db container_name: github_db
restart: unless-stopped restart: unless-stopped
volumes: volumes:
@ -31,11 +23,11 @@ services:
- webnet - webnet
env_file: ./config/.env env_file: ./config/.env
ports: ports:
- "5431:5432" - "5433:5432"
rabbitmq: rabbitmq:
hostname: rabbitmq_host hostname: rabbitmq_host
image: 'rabbitmq:3.10.5-management-alpine' image: 'rabbitmq:3.8.18-management-alpine'
container_name: github_rabbit container_name: github_rabbit
env_file: config/.env env_file: config/.env
restart: unless-stopped restart: unless-stopped
@ -74,19 +66,19 @@ services:
&& python manage.py compilemessages && python manage.py compilemessages
&& python manage.py create_superuser && python manage.py create_superuser
&& python -Wd manage.py runserver 0.0.0.0:8000" && python -Wd manage.py runserver 0.0.0.0:8000"
healthcheck: # healthcheck:
# We use `$$` here because: # # We use `$$` here because:
# one `$` goes to shell, # # one `$` goes to shell,
# one `$` goes to `docker-compose.yml` escaping # # one `$` goes to `docker-compose.yml` escaping
test: | # test: |
/usr/bin/test $$( # /usr/bin/test $$(
/usr/bin/curl --fail http://localhost:8000/health/?format=json # /usr/bin/curl --fail http://localhost:8000/health/?format=json
--write-out "%{http_code}" --silent --output /dev/null # --write-out "%{http_code}" --silent --output /dev/null
) -eq 200 # ) -eq 200
interval: 10s # interval: 10s
timeout: 5s # timeout: 5s
retries: 5 # retries: 5
start_period: 30s # start_period: 30s
worker: worker:
container_name: github_celery_worker container_name: github_celery_worker

View File

@ -1,4 +1,4 @@
FROM python:3.10.4-slim-buster FROM python:3.9.7-slim-buster
ENV BUILD_ONLY_PACKAGES='wget' \ ENV BUILD_ONLY_PACKAGES='wget' \
# python: # python:
@ -11,7 +11,7 @@ ENV BUILD_ONLY_PACKAGES='wget' \
PIP_DISABLE_PIP_VERSION_CHECK=on \ PIP_DISABLE_PIP_VERSION_CHECK=on \
PIP_DEFAULT_TIMEOUT=100 \ PIP_DEFAULT_TIMEOUT=100 \
# poetry: # poetry:
POETRY_VERSION=1.1.13 \ POETRY_VERSION=1.1.11 \
POETRY_NO_INTERACTION=1 \ POETRY_NO_INTERACTION=1 \
POETRY_VIRTUALENVS_CREATE=false \ POETRY_VIRTUALENVS_CREATE=false \
POETRY_CACHE_DIR='/var/cache/pypoetry' \ POETRY_CACHE_DIR='/var/cache/pypoetry' \

2248
github-stars/poetry.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -15,63 +15,63 @@ authors = ["balsh"]
[tool.poetry.dependencies] [tool.poetry.dependencies]
python = "^3.10.4" python = "3.9.7"
django = "^4.0" django = "^3"
django-split-settings = "^1.1" django-split-settings = "^1.0"
django-axes = "^5.5" django-axes = "^5.20"
django-csp = "^3.7" django-csp = "^3.7"
django-health-check = "^3.16" django-health-check = "^3.16"
django-http-referrer-policy = "^1.1" django-http-referrer-policy = "^1.1"
django-permissions-policy = "^4.12" django-permissions-policy = "^4.1"
django-stubs-ext = "^0.4" django-stubs-ext = "^0.2"
django-registration = "^3.3" django-registration = "^3"
psycopg2-binary = "^2.9" psycopg2-binary = "<2.9"
gunicorn = "^20.1" gunicorn = "^20.0"
python-decouple = "^3.6" python-decouple = "^3.4"
bcrypt = "^3.2" bcrypt = "^3.2"
structlog = "^21.5" structlog = "^21.1"
celery = "^5.2" celery = "5.1.2"
flower = "^1.1" flower = "^1.0.0"
celery_progress = "^0.1" celery_progress = "0.1.1"
aiohttp = "^3.8.1" aiohttp = "3.7.4.post0"
[tool.poetry.dev-dependencies] [tool.poetry.dev-dependencies]
django-debug-toolbar = "^3.5" django-debug-toolbar = "^3.2"
django-querycount = "^0.7" django-querycount = "^0.7"
django-migration-linter = "^3.0" django-migration-linter = "^3.0"
django-extra-checks = "^0.11" django-extra-checks = "^0.11"
django-coverage-plugin = "^2.0" django-coverage-plugin = "^2.0"
nplusone = "^1.0" nplusone = "^1.0"
wemake-python-styleguide = "^0.*" wemake-python-styleguide = "^0.15"
flake8-pytest-style = "^1.6" flake8-pytest-style = "^1.5"
flake8-django = "^1.1" flake8-django = "^1.1"
flake8-logging-format = "^0.6" flake8-logging-format = "^0.6"
nitpick = "^0.32" nitpick = "^0.26"
pytest = "^6.2" pytest = "^6.2"
pytest-django = "^4.5" pytest-django = "^4.4"
pytest-cov = "^2.12" pytest-cov = "^2.12"
pytest-randomly = "^3.12" pytest-randomly = "^3.8"
pytest-deadfixtures = "^2.2" pytest-deadfixtures = "^2.2"
pytest-testmon = "^1.3" pytest-testmon = "^1.1"
pytest-timeout = "^1.4" pytest-timeout = "^1.4"
django-test-migrations = "^1" django-test-migrations = "^1.1"
hypothesis = "^6.50" hypothesis = "^6.14"
mypy = "^0.961" mypy = "^0.910"
django-stubs = "^1.12" django-stubs = "^1.8"
sphinx = "^4.0" sphinx = "^4.0"
sphinx-autodoc-typehints = "^1" sphinx-autodoc-typehints = "^1.12"
tomlkit = "^0.11" tomlkit = "^0.7"
doc8 = "^0.11" doc8 = "^0.8"
yamllint = "^1" yamllint = "^1.26"
safety = "^2.0" safety = "^1.10"
dotenv-linter = "^0.3" dotenv-linter = "^0.2"
polint = "^0.4" polint = "^0.4"
dennis = "^1.1" dennis = "^0.9"
dump-env = "^1.3" dump-env = "^1.3"
ipython = "^8.4" ipython = "^7.25"

View File

@ -1,191 +0,0 @@
aiohttp==3.8.1; python_version >= "3.6"
aiosignal==1.2.0; python_version >= "3.6"
alabaster==0.7.12; python_version >= "3.7"
amqp==5.1.1; python_version >= "3.7"
appdirs==1.4.4; python_version >= "3.7" and python_version < "4.0"
appnope==0.1.3; sys_platform == "darwin" and python_version >= "3.8"
asgiref==3.5.2; python_version >= "3.8" and python_full_version >= "3.5.0"
astor==0.8.1; python_version >= "3.6" and python_full_version < "3.0.0" and python_version < "4.0" or python_version >= "3.6" and python_version < "4.0" and python_full_version >= "3.4.0"
asttokens==2.0.5; python_version >= "3.8"
async-timeout==4.0.2; python_version >= "3.6"
atomicwrites==1.4.1; python_version >= "3.7" and python_full_version < "3.0.0" and sys_platform == "win32" and (python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version >= "3.6") or sys_platform == "win32" and python_version >= "3.7" and python_full_version >= "3.4.0" and (python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version >= "3.6")
attrs==21.4.0; python_version >= "3.7" and python_full_version < "3.0.0" and python_version < "4.0" or python_full_version >= "3.5.0" and python_version >= "3.7" and python_version < "4.0"
autorepr==0.3.0; python_version >= "3.7" and python_version < "4.0"
babel==2.10.3; python_version >= "3.7"
backcall==0.2.0; python_version >= "3.8"
bandit==1.7.4; python_version >= "3.7" and python_version < "4.0"
bcrypt==3.2.2; python_version >= "3.6"
billiard==3.6.4.0; python_version >= "3.7"
blinker==1.4
cattrs==22.1.0; python_version >= "3.7" and python_version < "4.0"
celery-progress==0.1.2
celery==5.2.7; python_version >= "3.7"
certifi==2022.6.15; python_version >= "3.7" and python_version < "4"
cffi==1.15.1; python_version >= "3.6"
charset-normalizer==2.1.0; python_full_version >= "3.6.0" and python_version >= "3.7" and python_version < "4"
click-default-group==1.2.2; python_version >= "3.6" and python_version < "4.0"
click-didyoumean==0.3.0; python_full_version >= "3.6.2" and python_full_version < "4.0.0" and python_version >= "3.7"
click-plugins==1.1.1; python_version >= "3.7"
click-repl==0.2.0; python_version >= "3.7"
click==8.1.3; python_version >= "3.7" and python_version < "4.0" and python_full_version >= "3.6.2" and python_full_version < "4.0.0"
colorama==0.4.5; python_version >= "3.8" and python_full_version < "3.0.0" and sys_platform == "win32" and platform_system == "Windows" and python_version < "4.0" and (python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version >= "3.6") or sys_platform == "win32" and python_version >= "3.8" and python_full_version >= "3.5.0" and platform_system == "Windows" and python_version < "4.0" and (python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version >= "3.6")
configupdater==3.1.1; python_version >= "3.7" and python_version < "4.0"
confusable-homoglyphs==3.2.0; python_version >= "3.7"
coverage==6.4.1; python_version >= "3.7" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version >= "3.7"
darglint==1.8.1; python_version >= "3.6" and python_version < "4.0"
decorator==5.1.1; python_version >= "3.8"
dennis==1.1.0; python_version >= "3.7"
dictdiffer==0.9.0; python_version >= "3.7" and python_version < "4.0"
django-axes==5.35.0; python_version >= "3.7"
django-coverage-plugin==2.0.3
django-csp==3.7
django-debug-toolbar==3.5.0; python_version >= "3.7"
django-extra-checks==0.11.0; python_version >= "3.6"
django-health-check==3.16.5
django-http-referrer-policy==1.1.1; python_full_version >= "3.5.0"
django-ipware==4.0.2; python_version >= "3.7" and python_full_version < "3.0.0" or python_full_version >= "3.6.0" and python_version >= "3.7"
django-migration-linter==3.0.1
django-permissions-policy==4.12.0; python_version >= "3.7"
django-querycount==0.7.0
django-registration==3.3; python_version >= "3.7"
django-split-settings==1.1.0; python_version >= "3.6" and python_version < "4.0"
django-stubs-ext==0.5.0; python_version >= "3.6"
django-stubs==1.12.0; python_version >= "3.7"
django-test-migrations==1.2.0; python_version >= "3.6" and python_version < "4.0"
django==4.0.6; python_version >= "3.8"
doc8==0.11.2; python_version >= "3.6"
docopt==0.6.2; python_version > "2.6" and python_full_version < "3.0.0" or python_full_version >= "3.5.0"
docutils==0.17.1; python_version >= "3.7" and python_full_version < "3.0.0" and python_version < "4.0" or python_full_version >= "3.5.0" and python_version >= "3.7" and python_version < "4.0"
dotenv-linter==0.3.0; python_version >= "3.6" and python_version < "4.0"
dparse==0.5.1; python_version >= "3.5"
dpath==2.0.6; python_version >= "3.7" and python_version < "4.0"
dump-env==1.3.0; python_version >= "3.6" and python_version < "4.0"
eradicate==2.1.0; python_version >= "3.6" and python_version < "4.0"
exceptiongroup==1.0.0rc8; python_version < "3.11" and python_version >= "3.7" and python_full_version >= "3.10.0" and python_full_version < "4.0.0"
executing==0.8.3; python_version >= "3.8"
flake8-bandit==3.0.0; python_version >= "3.6" and python_version < "4.0"
flake8-broken-line==0.4.0; python_version >= "3.6" and python_version < "4.0"
flake8-bugbear==22.7.1; python_version >= "3.6" and python_version < "4.0"
flake8-commas==2.1.0; python_version >= "3.6" and python_version < "4.0"
flake8-comprehensions==3.10.0; python_version >= "3.7" and python_version < "4.0"
flake8-debugger==4.1.2; python_version >= "3.7" and python_version < "4.0"
flake8-django==1.1.2; python_version >= "3.6" and python_version < "4.0"
flake8-docstrings==1.6.0; python_version >= "3.6" and python_version < "4.0"
flake8-eradicate==1.2.1; python_version >= "3.6" and python_version < "4.0"
flake8-isort==4.1.1; python_version >= "3.6" and python_version < "4.0"
flake8-logging-format==0.6.0
flake8-plugin-utils==1.3.2; python_version >= "3.6" and python_version < "4.0" and python_full_version >= "3.6.2" and python_full_version < "4.0.0"
flake8-polyfill==1.0.2; python_version >= "3.6" and python_version < "4.0"
flake8-pytest-style==1.6.0; python_full_version >= "3.6.2" and python_full_version < "4.0.0"
flake8-quotes==3.3.1; python_version >= "3.6" and python_version < "4.0"
flake8-rst-docstrings==0.2.6; python_version >= "3.7" and python_version < "4.0"
flake8-string-format==0.3.0; python_version >= "3.6" and python_version < "4.0"
flake8==3.9.2; python_version >= "3.7" and python_full_version < "3.0.0" and python_version < "4.0" or python_version >= "3.7" and python_version < "4.0" and python_full_version >= "3.5.0"
flatten-dict==0.4.2; python_version >= "3.7" and python_full_version < "3.0.0" and python_version < "4.0" or python_version >= "3.7" and python_version < "4.0" and python_full_version >= "3.5.0"
flower==1.1.0
frozenlist==1.3.0; python_version >= "3.7"
furl==2.1.3; python_version >= "3.7" and python_version < "4.0"
gitdb==4.0.9; python_version >= "3.7" and python_version < "4.0"
gitpython==3.1.27; python_version >= "3.7" and python_version < "4.0"
gunicorn==20.1.0; python_version >= "3.5"
humanize==4.2.3; python_version >= "3.7"
hypothesis==6.50.1; python_version >= "3.7"
identify==2.5.1; python_version >= "3.7" and python_version < "4.0"
idna==3.3; python_version >= "3.7" and python_version < "4"
imagesize==1.4.1; python_version >= "3.7" and python_full_version < "3.0.0" or python_full_version >= "3.4.0" and python_version >= "3.7"
iniconfig==1.1.1; python_version >= "3.7" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version >= "3.7"
ipython==8.4.0; python_version >= "3.8"
isort==5.10.1; python_full_version >= "3.6.1" and python_version < "4.0" and python_version >= "3.6"
jedi==0.18.1; python_version >= "3.8"
jinja2==3.1.2; python_version >= "3.7"
jmespath==1.0.1; python_version >= "3.7" and python_version < "4.0"
kombu==5.2.4; python_version >= "3.7"
loguru==0.6.0; python_version >= "3.7" and python_version < "4.0"
markupsafe==2.1.1; python_version >= "3.7"
marshmallow-polyfield==5.10; python_version >= "3.7" and python_version < "4.0"
marshmallow==3.17.0; python_version >= "3.7" and python_version < "4.0"
matplotlib-inline==0.1.3; python_version >= "3.8"
mccabe==0.6.1; python_version >= "3.7" and python_full_version < "3.0.0" and python_version < "4.0" or python_version >= "3.7" and python_version < "4.0" and python_full_version >= "3.5.0"
more-itertools==8.13.0; python_version >= "3.7" and python_version < "4.0"
multidict==6.0.2; python_version >= "3.7"
mypy-extensions==0.4.3; python_version >= "3.7"
mypy==0.961; python_version >= "3.6"
nitpick==0.32.0; python_version >= "3.7" and python_version < "4.0"
nplusone==1.0.0
orderedmultidict==1.0.1; python_version >= "3.7" and python_version < "4.0"
packaging==21.3; python_version >= "3.7" and python_version < "4.0" and (python_version >= "3.7" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version >= "3.7")
parso==0.8.3; python_version >= "3.8"
pathspec==0.9.0; python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version >= "3.6"
pbr==5.9.0; python_version >= "3.6"
pep8-naming==0.12.1; python_version >= "3.6" and python_version < "4.0"
pexpect==4.8.0; sys_platform != "win32" and python_version >= "3.8"
pickleshare==0.7.5; python_version >= "3.8"
pluggy==1.0.0; python_version >= "3.7" and python_version < "4.0" and (python_version >= "3.7" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version >= "3.7")
ply==3.11; python_version >= "3.6" and python_version < "4.0"
polib==1.1.1; python_version >= "3.7" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version >= "3.7"
polint==0.4; (python_version > "2.6" and python_full_version < "3.0.0") or (python_full_version >= "3.5.0")
prometheus-client==0.14.1; python_version >= "3.6"
prompt-toolkit==3.0.30; python_full_version >= "3.6.2" and python_version >= "3.8"
psycopg2-binary==2.9.3; python_version >= "3.6"
ptyprocess==0.7.0; sys_platform != "win32" and python_version >= "3.8"
pure-eval==0.2.2; python_version >= "3.8"
py==1.11.0; python_version >= "3.7" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version >= "3.7"
pycodestyle==2.7.0; python_version >= "3.7" and python_full_version < "3.0.0" and python_version < "4.0" or python_version >= "3.7" and python_version < "4.0" and python_full_version >= "3.5.0"
pycparser==2.21; python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.4.0" and python_version >= "3.6"
pydocstyle==6.1.1; python_version >= "3.6" and python_version < "4.0"
pyflakes==2.3.1; python_version >= "3.7" and python_full_version < "3.0.0" and python_version < "4.0" or python_version >= "3.7" and python_version < "4.0" and python_full_version >= "3.5.0"
pygments==2.12.0; python_version >= "3.8" and python_version < "4.0"
pyparsing==3.0.9; python_version >= "3.7" and python_version < "4.0" and python_full_version >= "3.6.8"
pytest-cov==2.12.1; (python_version >= "2.7" and python_full_version < "3.0.0") or (python_full_version >= "3.5.0")
pytest-deadfixtures==2.2.1
pytest-django==4.5.2; python_version >= "3.5"
pytest-randomly==3.12.0; python_version >= "3.7"
pytest-testmon==1.3.3; python_version >= "3.6"
pytest-timeout==1.4.2
pytest==6.2.5; python_version >= "3.6"
python-decouple==3.6
python-slugify==6.1.2; python_version >= "3.7" and python_full_version < "3.0.0" and python_version < "4.0" or python_version >= "3.7" and python_version < "4.0" and python_full_version >= "3.6.0"
pytz==2022.1; python_version >= "3.7"
pyyaml==6.0; python_version >= "3.7" and python_version < "4.0"
requests-cache==0.9.5; python_version >= "3.7" and python_version < "4.0"
requests==2.28.1; python_version >= "3.7" and python_version < "4"
restructuredtext-lint==1.4.0; python_version >= "3.7" and python_version < "4.0"
ruamel.yaml.clib==0.2.6; platform_python_implementation == "CPython" and python_version < "3.11" and python_version >= "3.7"
ruamel.yaml==0.17.21; python_version >= "3.7" and python_version < "4.0"
safety==2.0.0
six==1.16.0; python_version >= "3.8" and python_full_version < "3.0.0" and python_version < "4.0" or python_full_version >= "3.6.0" and python_version >= "3.8" and python_version < "4.0"
smmap==5.0.0; python_version >= "3.7" and python_version < "4.0"
snowballstemmer==2.2.0; python_version >= "3.7" and python_version < "4.0"
sortedcontainers==2.4.0; python_version >= "3.7" and python_version < "4.0"
sphinx-autodoc-typehints==1.18.3; python_version >= "3.7"
sphinx==4.5.0; python_version >= "3.6"
sphinxcontrib-applehelp==1.0.2; python_version >= "3.7"
sphinxcontrib-devhelp==1.0.2; python_version >= "3.7"
sphinxcontrib-htmlhelp==2.0.0; python_version >= "3.7"
sphinxcontrib-jsmath==1.0.1; python_version >= "3.7"
sphinxcontrib-qthelp==1.0.3; python_version >= "3.7"
sphinxcontrib-serializinghtml==1.1.5; python_version >= "3.7"
sqlparse==0.4.2; python_version >= "3.8" and python_full_version >= "3.5.0"
stack-data==0.3.0; python_version >= "3.8"
stevedore==3.5.0; python_version >= "3.7" and python_version < "4.0"
strenum==0.4.8; python_version >= "3.7" and python_version < "4.0"
structlog==21.5.0; python_version >= "3.6"
testfixtures==6.18.5; python_version >= "3.6" and python_version < "4.0"
text-unidecode==1.3; python_version >= "3.7" and python_full_version < "3.0.0" and python_version < "4.0" or python_version >= "3.7" and python_version < "4.0" and python_full_version >= "3.6.0"
toml==0.10.2; python_version >= "3.7" and python_full_version < "3.0.0" and python_version < "4.0" or python_version >= "3.7" and python_version < "4.0" and python_full_version >= "3.5.0"
tomli==2.0.1; python_version < "3.11" and python_version >= "3.7"
tomlkit==0.11.1; python_version >= "3.6" and python_version < "4.0"
tornado==6.2; python_version >= "3.7"
traitlets==5.3.0; python_version >= "3.8"
types-pytz==2022.1.1; python_version >= "3.7"
types-pyyaml==6.0.9; python_version >= "3.7"
typing-extensions==4.3.0; python_version >= "3.7" and python_version < "4.0"
tzdata==2022.1; sys_platform == "win32" and python_version >= "3.8" and python_full_version >= "3.5.0"
url-normalize==1.4.3; python_version >= "3.7" and python_full_version < "3.0.0" and python_version < "4.0" or python_version >= "3.7" and python_version < "4.0" and python_full_version >= "3.6.0"
urllib3==1.26.10; python_version >= "3.7" and python_full_version < "3.0.0" and python_version < "4" or python_full_version >= "3.6.0" and python_version < "4" and python_version >= "3.7"
vine==5.0.0; python_version >= "3.7"
wcwidth==0.2.5; python_full_version >= "3.6.2" and python_version >= "3.8"
wemake-python-styleguide==0.16.1; python_version >= "3.6" and python_version < "4.0"
win32-setctime==1.1.0; python_version >= "3.7" and python_version < "4.0" and sys_platform == "win32"
yamllint==1.27.1; python_version >= "3.6"
yarl==1.7.2; python_version >= "3.6"

View File

@ -12,7 +12,7 @@ from typing import Dict, List, Tuple, Union
DEBUG = True DEBUG = True
from django.utils.translation import gettext_lazy as _ from django.utils.translation import ugettext_lazy as _
from server.settings.components import BASE_DIR, config from server.settings.components import BASE_DIR, config