Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
CS123-Canteeneo
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Willard Torres
CS123-Canteeneo
Commits
3156a964
Commit
3156a964
authored
Oct 23, 2016
by
Willard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Combine import statements
parent
b472902a
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
11 deletions
+2
-11
forms.py
canteeneo/forms.py
+1
-6
views.py
canteeneo/views.py
+1
-5
No files found.
canteeneo/forms.py
View file @
3156a964
from
flask
import
flash
from
flask_wtf
import
FlaskForm
from
wtforms
import
DecimalField
from
wtforms
import
FileField
from
wtforms
import
PasswordField
from
wtforms
import
SelectField
from
wtforms
import
StringField
from
wtforms
import
TextAreaField
from
wtforms
import
DecimalField
,
FileField
,
PasswordField
,
SelectField
,
StringField
,
TextAreaField
from
wtforms.validators
import
DataRequired
,
EqualTo
,
Email
from
models
import
Owner
,
Stall
,
Dish
...
...
canteeneo/views.py
View file @
3156a964
import
os.path
from
canteeneo
import
app
,
login_manager
,
db
from
flask
import
flash
from
flask
import
redirect
from
flask
import
render_template
from
flask
import
request
from
flask
import
url_for
from
flask
import
flash
,
redirect
,
render_template
,
request
,
url_for
from
flask_login
import
login_required
,
login_user
,
logout_user
,
current_user
from
forms
import
OwnerLoginForm
,
OwnerRegisterForm
,
StallRegisterForm
,
DishRegisterForm
from
models
import
Owner
,
Stall
,
Location
,
Dish
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment