Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,12 +111,13 @@ user can be created with:

## Project structure

- `core/` — Django project configuration and the base-info endpoint
- `core/` — Django project configuration
- `auth_app/` — registration and login
- `profiles_app/` — user profiles
- `offers_app/` — offers and offer details
- `orders_app/` — orders and order counters
- `reviews_app/` — reviews and ratings
- `base_info_app/` — aggregated platform statistics (base-info endpoint)
- `docs/` — endpoint reference and delivery checklist

## Running checks
Expand Down
File renamed without changes.
Empty file added base_info_app/api/__init__.py
Empty file.
File renamed without changes.
File renamed without changes.
7 changes: 7 additions & 0 deletions base_info_app/apps.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
from django.apps import AppConfig


class BaseInfoAppConfig(AppConfig):
"""Configure the base info app."""

name = 'base_info_app'
Empty file added base_info_app/tests/__init__.py
Empty file.
1 change: 1 addition & 0 deletions core/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ def _env_list(name, default=''):
'offers_app',
'orders_app',
'reviews_app',
'base_info_app',
]

MIDDLEWARE = [
Expand Down
1 change: 1 addition & 0 deletions core/tests/test_app_architecture.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
'offers_app',
'orders_app',
'reviews_app',
'base_info_app',
]

EXPECTED_API_URL_MODULES = [
Expand Down
2 changes: 1 addition & 1 deletion core/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@
path('api/', include('offers_app.api.urls')),
path('api/', include('orders_app.api.urls')),
path('api/', include('reviews_app.api.urls')),
path('api/', include('core.api.urls')),
path('api/', include('base_info_app.api.urls')),
]