Browse Source

cambie el nombre de la funcion de admin a admin_insert

Tatiana Castro 6 years ago
parent
commit
323134b77f
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      app/admin_insert.py

+ 1
- 1
app/admin_insert.py View File

@@ -9,7 +9,7 @@ from app.forms import StationForm
9 9
 bp = Blueprint('admin_insert', __name__)
10 10
 
11 11
 @bp.route('/admin_insert', methods=('GET', 'POST'))
12
-def admin():
12
+def admin_insert():
13 13
     form = StationForm()
14 14
     if form.validate_on_submit():
15 15
         db = get_db()