Image upload added

Added temporary fix to loading images on the home page
Fix api.py for requesting images
Minor tweaks to default theme
This commit is contained in:
Michał Gdula 2023-01-10 18:12:55 +00:00
parent 367bb2bcc5
commit 44a6712b6e
8 changed files with 71 additions and 70 deletions

View file

@ -1,7 +1,5 @@
import functools
from flask import (
Blueprint, flash, g, redirect, render_template, request, session, url_for
)
from flask import Blueprint, flash, g, redirect, render_template, request, session, url_for
from werkzeug.security import check_password_hash, generate_password_hash
from gallery.db import get_db