added BUGS, TODO and README, and first class settings

This commit is contained in:
2021-01-10 13:14:49 +11:00
parent 0bbed0ced5
commit 53897a1351
4 changed files with 38 additions and 0 deletions

2
BUGs Normal file
View File

@@ -0,0 +1,2 @@
### Next: 1
BUG-1: whenever we see a bug...

1
README Normal file
View File

@@ -0,0 +1 @@
In here we can put instructions on how to run this / any general info

17
TODO Normal file
View File

@@ -0,0 +1,17 @@
### DB
* create tables
### BACKEND
* probably need a "batch" processing system that uses ionice to minimise load on mara
### UI
* basic browse a
### AI
* store reference images
* check images
### SORTER
* date stuff
* exif processing?
* location stuff

18
settings.py Normal file
View File

@@ -0,0 +1,18 @@
from wtforms import SubmitField, StringField, HiddenField, validators, Form
from flask_wtf import FlaskForm
from flask import request, render_template, redirect
from main import db, app, ma
from sqlalchemy import Sequence
from sqlalchemy.exc import SQLAlchemyError
from status import st, Status
################################################################################
# Class describing Author in the database, and via sqlalchemy, connected to the DB as well
################################################################################
class Settings(db.Model):
id = db.Column(db.Integer, db.Sequence('fs_id_seq'), primary_key=True )
name = db.Column(db.String, unique=True, nullable=True )
value = db.Column(db.String, unique=True, nullable=True )
def __repr__(self):
return "<id: {}, name: {}, value: {}>".format(self.id, self.name, self.value)