In addition to the Flask documentation, this can be resolved as follows:
When creating the Flask application, upload the file 'urls.py'
app.register_blueprint(apps.someapp.urls.mod)
Then create urls.py as follows:
from flask import Blueprint from apps.someapp.views import SomeView
source share