Let's use the name of the app for the app.

This commit is contained in:
Luke Murphy 2018-11-17 20:05:15 +01:00
parent 202398983c
commit a2b35726d9
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
484 changed files with 10 additions and 12 deletions

4
run.py
View File

@ -1,5 +1,3 @@
#! /usr/bin/env python from xppl import app, socketio
from app import app, socketio
socketio.run(app, host='0.0.0.0', port=8080) socketio.run(app, host='0.0.0.0', port=8080)

View File

@ -30,4 +30,4 @@ socketio = SocketIO(app)
app.config.from_object(__name__) app.config.from_object(__name__)
from app import views # noqa from xppl import views # noqa

View File

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 14 KiB

View File

@ -1,4 +1,4 @@
from app.models import Author from xppl.models import Author
from flask_wtf import FlaskForm from flask_wtf import FlaskForm
from wtforms import FieldList, FileField from wtforms import FieldList, FileField
from wtforms import Form as NoCsrfForm from wtforms import Form as NoCsrfForm

View File

@ -1,6 +1,6 @@
import datetime import datetime
from app import db from xppl import db
from marshmallow import Schema, ValidationError, fields from marshmallow import Schema, ValidationError, fields
from sqlalchemy import Column, DateTime from sqlalchemy import Column, DateTime

View File

Before

Width:  |  Height:  |  Size: 106 KiB

After

Width:  |  Height:  |  Size: 106 KiB

View File

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 14 KiB

View File

Before

Width:  |  Height:  |  Size: 4.5 KiB

After

Width:  |  Height:  |  Size: 4.5 KiB

View File

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

Some files were not shown because too many files have changed in this diff Show More