Rename KYC models (Application/Profile) and add public schema with MongoDB
All checks were successful
Build Docker Image / build (push) Successful in 3m7s
All checks were successful
Build Docker Image / build (push) Successful in 3m7s
This commit is contained in:
@@ -145,3 +145,7 @@ ODOO_INTERNAL_URL = os.getenv('ODOO_INTERNAL_URL', 'odoo:8069')
|
||||
TEMPORAL_HOST = os.getenv('TEMPORAL_HOST', 'temporal:7233')
|
||||
TEMPORAL_NAMESPACE = os.getenv('TEMPORAL_NAMESPACE', 'default')
|
||||
TEMPORAL_TASK_QUEUE = os.getenv('TEMPORAL_TASK_QUEUE', 'platform-worker')
|
||||
|
||||
# MongoDB connection (for company monitoring data)
|
||||
MONGODB_URI = os.getenv('MONGODB_URI', '')
|
||||
MONGODB_DB = os.getenv('MONGODB_DB', 'optovia')
|
||||
|
||||
@@ -1,10 +1,14 @@
|
||||
from django.contrib import admin
|
||||
from django.urls import path
|
||||
from django.views.decorators.csrf import csrf_exempt
|
||||
from kyc_app.views import UserGraphQLView
|
||||
from kyc_app.views import UserGraphQLView, M2MGraphQLView, PublicGraphQLView
|
||||
from kyc_app.schemas.user_schema import user_schema
|
||||
from kyc_app.schemas.m2m_schema import m2m_schema
|
||||
from kyc_app.schemas.public_schema import public_schema
|
||||
|
||||
urlpatterns = [
|
||||
path('admin/', admin.site.urls),
|
||||
path('graphql/user/', csrf_exempt(UserGraphQLView.as_view(graphiql=True, schema=user_schema))),
|
||||
path('graphql/m2m/', csrf_exempt(M2MGraphQLView.as_view(graphiql=True, schema=m2m_schema))),
|
||||
path('graphql/public/', csrf_exempt(PublicGraphQLView.as_view(graphiql=True, schema=public_schema))),
|
||||
]
|
||||
Reference in New Issue
Block a user