v0.11.0 - Added a block so no bins can be counted until a master file has been uploaded.
This commit is contained in:
6
app.py
6
app.py
@@ -17,7 +17,7 @@ from blueprints.data_imports import data_imports_bp
|
||||
from blueprints.users import users_bp
|
||||
from blueprints.sessions import sessions_bp
|
||||
from blueprints.admin_locations import admin_locations_bp
|
||||
from blueprints.counting import counting_bp # Add this import
|
||||
from blueprints.counting import counting_bp
|
||||
from utils import login_required
|
||||
|
||||
# Register Blueprints
|
||||
@@ -25,7 +25,7 @@ app.register_blueprint(data_imports_bp)
|
||||
app.register_blueprint(users_bp)
|
||||
app.register_blueprint(sessions_bp)
|
||||
app.register_blueprint(admin_locations_bp)
|
||||
app.register_blueprint(counting_bp) # Add this registration
|
||||
app.register_blueprint(counting_bp)
|
||||
|
||||
# V1.0: Use environment variable for production, fallback to demo key for development
|
||||
app.secret_key = os.environ.get('SCANLOOK_SECRET_KEY', 'scanlook-demo-key-replace-for-production')
|
||||
@@ -36,7 +36,7 @@ app.config['PERMANENT_SESSION_LIFETIME'] = timedelta(hours=1)
|
||||
|
||||
|
||||
# 1. Define the version
|
||||
APP_VERSION = '0.10.0'
|
||||
APP_VERSION = '0.11.0'
|
||||
|
||||
# 2. Inject it into all templates automatically
|
||||
@app.context_processor
|
||||
|
||||
Reference in New Issue
Block a user