feat(registry): add new endpoints for registers, exchange, and backups; update routing and configurations
Some checks failed
CI/CD Pipeline / Code Quality Checks (push) Failing after 3m10s
CI/CD Pipeline / Run Tests (push) Successful in 3m35s
CI/CD Pipeline / Telegram Notify Success (push) Has been skipped
CI/CD Pipeline / Code Quality Checks (pull_request) Failing after 2m26s
CI/CD Pipeline / Run Tests (pull_request) Successful in 2m46s
CI/CD Pipeline / Telegram Notify Success (pull_request) Has been skipped
Some checks failed
CI/CD Pipeline / Code Quality Checks (push) Failing after 3m10s
CI/CD Pipeline / Run Tests (push) Successful in 3m35s
CI/CD Pipeline / Telegram Notify Success (push) Has been skipped
CI/CD Pipeline / Code Quality Checks (pull_request) Failing after 2m26s
CI/CD Pipeline / Run Tests (pull_request) Successful in 2m46s
CI/CD Pipeline / Telegram Notify Success (pull_request) Has been skipped
This commit is contained in:
@@ -40,6 +40,7 @@ INSTALLED_APPS = [
|
||||
"rest_framework",
|
||||
"django_filters",
|
||||
"corsheaders",
|
||||
"rest_framework_simplejwt.token_blacklist",
|
||||
"django_celery_beat",
|
||||
"django_celery_results",
|
||||
"drf_yasg",
|
||||
@@ -47,6 +48,9 @@ INSTALLED_APPS = [
|
||||
"apps.core",
|
||||
"apps.user",
|
||||
"apps.parsers",
|
||||
"apps.registers",
|
||||
"apps.exchange",
|
||||
"apps.backups",
|
||||
]
|
||||
|
||||
# Jazzmin Admin Configuration
|
||||
@@ -78,6 +82,9 @@ JAZZMIN_SETTINGS = {
|
||||
"order_with_respect_to": [
|
||||
"user",
|
||||
"parsers",
|
||||
"registers",
|
||||
"exchange",
|
||||
"backups",
|
||||
"core",
|
||||
"django_celery_beat",
|
||||
],
|
||||
@@ -91,6 +98,9 @@ JAZZMIN_SETTINGS = {
|
||||
"parsers.ParserLoadLog": "fas fa-history",
|
||||
"parsers.IndustrialCertificateRecord": "fas fa-certificate",
|
||||
"parsers.ManufacturerRecord": "fas fa-industry",
|
||||
"registers.Register": "fas fa-book",
|
||||
"registers.Organization": "fas fa-building",
|
||||
"exchange.ExchangeConnection": "fas fa-database",
|
||||
"core.BackgroundJob": "fas fa-tasks",
|
||||
"django_celery_beat.PeriodicTask": "fas fa-clock",
|
||||
"django_celery_beat.CrontabSchedule": "fas fa-calendar-alt",
|
||||
@@ -188,6 +198,12 @@ WSGI_APPLICATION = "core.wsgi.application"
|
||||
ZAKUPKI_TOKEN = os.getenv("ZAKUPKI_TOKEN", "")
|
||||
FNS_LOCK_TTL_SECONDS = 3600
|
||||
PARSER_PROXIES = []
|
||||
BACKUP_ENCRYPTION_KEY = os.getenv("BACKUP_ENCRYPTION_KEY", "")
|
||||
BACKUP_KEY_ID = os.getenv("BACKUP_KEY_ID", "default")
|
||||
BACKUP_EXPORT_DIRECTORY = os.getenv(
|
||||
"BACKUP_EXPORT_DIRECTORY",
|
||||
str(PROJECT_ROOT / "media" / "backups"),
|
||||
)
|
||||
|
||||
|
||||
# Password validation
|
||||
|
||||
Reference in New Issue
Block a user