feat(core): add core module with mixins, services, and background jobs

- Add Model Mixins: TimestampMixin, SoftDeleteMixin, AuditMixin, etc.
- Add Base Services: BaseService, BulkOperationsMixin, QueryOptimizerMixin
- Add Base ViewSets with bulk operations
- Add BackgroundJob model for Celery task tracking
- Add BaseAppCommand for management commands
- Add permissions, pagination, filters, cache, logging
- Migrate tests to factory_boy + faker
- Add CHANGELOG.md
- 297 tests passing
This commit is contained in:
2026-01-21 11:47:26 +01:00
parent 06b30fca02
commit f121445313
72 changed files with 9258 additions and 594 deletions

View File

@@ -27,16 +27,15 @@ schema_view = get_schema_view(
)
urlpatterns = [
path("admin/", admin.site.urls),
path("api/users/", include("apps.user.urls")),
path("api-auth/", include("rest_framework.urls")),
# Swagger documentation
path(
"swagger/",
"",
schema_view.with_ui("swagger", cache_timeout=0),
name="schema-swagger-ui",
),
path("redoc/", schema_view.with_ui("redoc", cache_timeout=0), name="schema-redoc"),
path("admin/", admin.site.urls),
path("health/", include("apps.core.urls")),
path("api/v1/", include("config.api_v1_urls", namespace="api_v1")),
path("auth/", include("rest_framework.urls")),
]
# Serve media files in development