- Created blueprints/public/routes_announcements.py with 2 routes: - /ogloszenia (announcements_list) - /ogloszenia/<slug> (announcement_detail) - Added endpoint aliases for backward compatibility - Removed ~130 lines from app.py (7506 -> 7378) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
15 lines
314 B
Python
15 lines
314 B
Python
"""
|
|
Public Blueprint
|
|
================
|
|
|
|
Public-facing routes: index, company profiles, search, events.
|
|
"""
|
|
|
|
from flask import Blueprint
|
|
|
|
bp = Blueprint('public', __name__)
|
|
|
|
from . import routes # noqa: E402, F401
|
|
from . import routes_zopk # noqa: E402, F401
|
|
from . import routes_announcements # noqa: E402, F401
|