mirror of
https://github.com/StefBuwalda/ProjectIOT.git
synced 2025-10-30 03:09:58 +00:00
Removed old ANPR system
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
from flask_wtf import FlaskForm
|
||||
from wtforms.validators import DataRequired
|
||||
from wtforms import StringField, SubmitField
|
||||
from application import db
|
||||
|
||||
|
||||
class npForm(FlaskForm):
|
||||
numberplate = StringField('add a numberplate', validators=[DataRequired()])
|
||||
submit = SubmitField('Submit')
|
||||
numberplate = StringField("add a numberplate", validators=[DataRequired()])
|
||||
submit = SubmitField("Submit")
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
from flask import Blueprint, render_template, request, jsonify
|
||||
from flask_login import login_required
|
||||
from application.dashboard.models import AllowedPlate, LoggedItem
|
||||
from application import db, app
|
||||
from application import db
|
||||
from application.dashboard.forms import npForm
|
||||
|
||||
dash_blueprint = Blueprint("dash", __name__, template_folder="templates")
|
||||
|
||||
Reference in New Issue
Block a user