Adds the new shows admin screen and drives schedule from it
This commit is contained in:
+2
-1
@@ -10,7 +10,7 @@ from app.config import settings
|
||||
from app.database import async_session, engine
|
||||
from app.models import Base, Program, Show, StationConfig, HistoryEntry, TeamMember, CommunityHighlight
|
||||
from app.user_models import User
|
||||
from app.api import programs, events, tiers, auth, station_config, history, team, community, shows
|
||||
from app.api import programs, events, tiers, auth, station_config, history, team, community, shows, upload
|
||||
|
||||
|
||||
async def _ensure_station_config(session):
|
||||
@@ -100,6 +100,7 @@ app.include_router(history.router, prefix="/api/history", tags=["history"])
|
||||
app.include_router(team.router, prefix="/api/team", tags=["team"])
|
||||
app.include_router(community.router, prefix="/api/community", tags=["community"])
|
||||
app.include_router(shows.router, prefix="/api/shows", tags=["shows"])
|
||||
app.include_router(upload.router, prefix="/api/upload", tags=["upload"])
|
||||
|
||||
# Serve uploaded files (dev only — Nginx handles this in production)
|
||||
if settings.ENV != "production":
|
||||
|
||||
Reference in New Issue
Block a user