Commit 85d322b3 authored by Willard's avatar Willard

Fix invalid syntax, add newline

parent 8bf76673
......@@ -5,4 +5,4 @@ class BaseConfig(object):
SECRET_KEY = 'canteeneo_key'
SQLALCHEMY_DATABASE_URI = 'mysql+pymysql://root:therootisdead@localhost/canteeneo'
SQLALCHEMY_TRACK_MODIFICATIONS = False
UPLOAD_FOLDER = os.path.realpath('.\\canteeneo\\static\uploads')
\ No newline at end of file
UPLOAD_FOLDER = os.path.realpath('.\\canteeneo\\static\uploads')
......@@ -69,4 +69,4 @@ def delete_dish(stall_id, dish_id):
db.session.delete(dish)
db.session.commit()
return redirect(url_for('view_stall', stall_id=stall_id))
\ No newline at end of file
return redirect(url_for('view_stall', stall_id=stall_id))
......@@ -69,4 +69,4 @@ def delete_stall(stall_id):
stall = Stall.query.get(stall_id)
db.session.delete(stall)
db.session.commit()
return redirect(url_for('view_stall', stall_id=stall_id)
\ No newline at end of file
return redirect(url_for('view_stall', stall_id=stall_id))
......@@ -90,4 +90,4 @@ def flash_form_errors(form):
flash(u'Error in the %s field - %s' % (getattr(form, field).label.text, error))
import stall_views
import dish_views
\ No newline at end of file
import dish_views
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment