mirror of
https://gitlab.com/megazordpobeda/DataRush.git
synced 2026-05-22 23:17:09 +00:00
Merge branch 'master' into 'feature/auth'
# Conflicts: # services/backend/api/v1/router.py # services/backend/apps/core/apps.py # services/backend/config/settings.py # tests/README.md
This commit is contained in:
@@ -4,12 +4,11 @@ from ninja import NinjaAPI
|
|||||||
|
|
||||||
from api.v1 import handlers
|
from api.v1 import handlers
|
||||||
from api.v1.ping.views import router as ping_router
|
from api.v1.ping.views import router as ping_router
|
||||||
from api.v1.users.views import router as users_router
|
|
||||||
|
|
||||||
router = NinjaAPI(
|
router = NinjaAPI(
|
||||||
title="project_name API",
|
title="DataRush API",
|
||||||
version="1",
|
version="1",
|
||||||
description="API docs for project_name",
|
description="API docs for DataRush",
|
||||||
openapi_url="/docs/openapi.json",
|
openapi_url="/docs/openapi.json",
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -7,7 +7,3 @@ from django.core.cache import cache
|
|||||||
class CoreConfig(AppConfig):
|
class CoreConfig(AppConfig):
|
||||||
name = "apps.core"
|
name = "apps.core"
|
||||||
label = "core"
|
label = "core"
|
||||||
|
|
||||||
def ready(self) -> None:
|
|
||||||
with contextlib.suppress(Exception):
|
|
||||||
cache.add("current_date", 0, timeout=None)
|
|
||||||
|
|||||||
+1
-1
@@ -16,4 +16,4 @@ image here
|
|||||||
|
|
||||||
## Running e2e tests
|
## Running e2e tests
|
||||||
|
|
||||||
See [tests/e2e/README.md](e2e/README.md).
|
See [tests/e2e/README.md](./e2e/README.md).
|
||||||
|
|||||||
Reference in New Issue
Block a user