Admin panel module for publishing posts on NORDA chamber Facebook page. Includes AI content generation (Gemini), post workflow (draft/approved/ scheduled/published), Facebook Graph API publishing, and engagement tracking. New: migration 070, SocialPost/SocialMediaConfig models, publisher service, admin routes with AJAX, 3 templates (list/form/settings). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
32 lines
1.2 KiB
Python
32 lines
1.2 KiB
Python
"""
|
|
Admin Blueprint
|
|
===============
|
|
|
|
Admin panel routes: users, recommendations, fees, calendar, and more.
|
|
"""
|
|
|
|
from flask import Blueprint
|
|
|
|
bp = Blueprint('admin', __name__, url_prefix='/admin')
|
|
|
|
from . import routes # noqa: E402, F401
|
|
from . import routes_audits # noqa: E402, F401
|
|
from . import routes_status # noqa: E402, F401
|
|
from . import routes_social # noqa: E402, F401
|
|
from . import routes_security # noqa: E402, F401
|
|
from . import routes_announcements # noqa: E402, F401
|
|
from . import routes_insights # noqa: E402, F401
|
|
from . import routes_analytics # noqa: E402, F401
|
|
from . import routes_zopk_dashboard # noqa: E402, F401
|
|
from . import routes_zopk_news # noqa: E402, F401
|
|
from . import routes_zopk_knowledge # noqa: E402, F401
|
|
from . import routes_zopk_timeline # noqa: E402, F401
|
|
from . import routes_users_api # noqa: E402, F401
|
|
from . import routes_krs_api # noqa: E402, F401
|
|
from . import routes_companies # noqa: E402, F401
|
|
from . import routes_people # noqa: E402, F401
|
|
from . import routes_membership # noqa: E402, F401
|
|
from . import routes_benefits # noqa: E402, F401
|
|
from . import routes_competitors # noqa: E402, F401
|
|
from . import routes_social_publisher # noqa: E402, F401
|