Fix orientation parameter handling and template URL endpoints
- Add orientation parameter support to create_group and edit_group functions - Fix manage_group.html template URL endpoint from 'update_group_content_order' to 'update_group_content_order_route' - Add orientation field and filtering to edit_group.html template with JavaScript functionality - Update group_player_management.py to handle orientation validation in create and edit operations - Fix docker-compose.yml to include build directive and correct volume paths - Update entrypoint.sh to handle fresh deployments without migrations - Ensure orientation consistency across group and player management These changes resolve: - Internal Server Error on manage_group page - Missing orientation parameter in group creation/editing - Template URL endpoint mismatches - Docker deployment issues with fresh installations
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
#version: '"1.1.0"'
|
||||
services:
|
||||
web:
|
||||
build: .
|
||||
image: digiserver:latest
|
||||
ports:
|
||||
- "8880:5000"
|
||||
@@ -12,5 +13,5 @@ services:
|
||||
- SECRET_KEY=Ma_Duc_Dupa_Merele_Lui_Ana
|
||||
volumes:
|
||||
- /opt/digi-s/instance:/app/instance
|
||||
- /opt/digi-s/static/uploads:/app/static/uploads
|
||||
- /opt/digi-s/uploads:/app/static/uploads
|
||||
restart: unless-stopped
|
||||
|
||||
Reference in New Issue
Block a user