Add organizations v2 API and registry enrichment
This commit is contained in:
@@ -46,6 +46,7 @@ INSTALLED_APPS = [
|
||||
"drf_yasg",
|
||||
# Local apps
|
||||
"apps.core",
|
||||
"organizations",
|
||||
"user",
|
||||
"apps.parsers",
|
||||
"registers",
|
||||
@@ -202,10 +203,14 @@ WSGI_APPLICATION = "core.wsgi.application"
|
||||
# =============================================================================
|
||||
|
||||
ZAKUPKI_TOKEN = os.getenv("ZAKUPKI_TOKEN", "")
|
||||
SUPERJOB_APP_ID = os.getenv("SUPERJOB_APP_ID", "").strip()
|
||||
FNS_LOCK_TTL_SECONDS = 3600
|
||||
PARSER_PROXIES = [
|
||||
item.strip() for item in os.getenv("PARSER_PROXIES", "").split(",") if item.strip()
|
||||
]
|
||||
PARSER_USE_RUNTIME_PROXIES = (
|
||||
os.getenv("PARSER_USE_RUNTIME_PROXIES", "false").strip().lower() == "true"
|
||||
)
|
||||
PROXY_TOOLS_API_KEY = os.getenv("PROXY_TOOLS_API_KEY", "").strip()
|
||||
PROXY_TOOLS_API_URL = os.getenv(
|
||||
"PROXY_TOOLS_API_URL", "https://proxy-tools.com/api/v1/proxies"
|
||||
|
||||
@@ -92,3 +92,6 @@ REST_FRAMEWORK = {
|
||||
"DEFAULT_THROTTLE_CLASSES": [],
|
||||
"DEFAULT_THROTTLE_RATES": {},
|
||||
}
|
||||
|
||||
# Dev-only: frontend/scripts can inspect the new v2 organizations API without JWT.
|
||||
ORGANIZATIONS_V2_ALLOW_ANONYMOUS = True
|
||||
|
||||
Reference in New Issue
Block a user