feat: añadir app general con LogService centralizado #36

Merged
jjminguez merged 1 commits from pre-dev into dev 2026-04-16 14:57:21 +00:00
Owner
  • Crear app/general con estructura estándar del proyecto:
    · utilidades/acciones.py → LogService.gestionar_log() (única fuente de logs)
    · utilidades/utils.py → get_client_ip()
    · utilidades/custom_errors.py → ValidationError, ExternalServiceError, NotFoundError
    · exception.py, request.py, serializers.py, validaciones/
  • Registrar 'general' en INSTALLED_APPS y añadir general/ a urls.py
  • Refactorizar promociones/views.py para usar LogService en lugar de Log directo

Co-Authored-By: Claude Sonnet 4.6 noreply@anthropic.com

- Crear app/general con estructura estándar del proyecto: · utilidades/acciones.py → LogService.gestionar_log() (única fuente de logs) · utilidades/utils.py → get_client_ip() · utilidades/custom_errors.py → ValidationError, ExternalServiceError, NotFoundError · exception.py, request.py, serializers.py, validaciones/ - Registrar 'general' en INSTALLED_APPS y añadir general/ a urls.py - Refactorizar promociones/views.py para usar LogService en lugar de Log directo Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
jjminguez added 1 commit 2026-04-16 14:56:50 +00:00
feat: añadir app general con LogService centralizado
All checks were successful
DEPLOY_MULTI_BRACH/pipeline/pr-dev This commit looks good
DEPLOY_MULTI_BRACH/pipeline/head This commit looks good
2f6564d9a6
- Crear app/general con estructura estándar del proyecto:
  · utilidades/acciones.py → LogService.gestionar_log() (única fuente de logs)
  · utilidades/utils.py → get_client_ip()
  · utilidades/custom_errors.py → ValidationError, ExternalServiceError, NotFoundError
  · exception.py, request.py, serializers.py, validaciones/
- Registrar 'general' en INSTALLED_APPS y añadir general/ a urls.py
- Refactorizar promociones/views.py para usar LogService en lugar de Log directo

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
jjminguez merged commit 3c7d47782b into dev 2026-04-16 14:57:21 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Proyecto-SaaS/django-core-base#36