feat: uniform competence management
This commit is contained in:
3
app.py
3
app.py
@@ -2,7 +2,7 @@ import os
|
||||
import logging
|
||||
from flask import Flask, render_template
|
||||
from models import db, Assessment, Student, ClassGroup
|
||||
from commands import init_db
|
||||
from commands import init_db, create_large_test_data
|
||||
from app_config_classes import config
|
||||
from app_config import config_manager
|
||||
from exceptions.handlers import register_error_handlers
|
||||
@@ -44,6 +44,7 @@ def create_app(config_name=None):
|
||||
|
||||
# Register CLI commands
|
||||
app.cli.add_command(init_db)
|
||||
app.cli.add_command(create_large_test_data)
|
||||
|
||||
# Main routes
|
||||
@app.route('/')
|
||||
|
||||
Reference in New Issue
Block a user