12 lines
377 B
Python
12 lines
377 B
Python
# myapp/activity/__init__.py
|
|
|
|
from flask import Blueprint
|
|
|
|
# Define the Blueprint instance for the project activity module.
|
|
bp = Blueprint('activity', __name__, url_prefix='/api/activity')
|
|
|
|
# Import the routes module for this blueprint.
|
|
# This assumes your routes are defined in 'activity_routes.py'.
|
|
# The import MUST come AFTER 'bp' is defined.
|
|
from . import activity_routes
|