You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
355 B
Django/Jinja
17 lines
355 B
Django/Jinja
from iti.applications import create_app
|
|
|
|
from config import config
|
|
from {{ project_slug }}.models import import_models
|
|
from {{ project_slug }}.modules.example.module import ExampleModule
|
|
|
|
|
|
app = create_app(
|
|
config_mapping=config,
|
|
model_imports=[import_models],
|
|
modules=[ExampleModule()],
|
|
)
|
|
|
|
|
|
if __name__ == "__main__":
|
|
app.run(debug=True)
|