-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathroutes.py
57 lines (38 loc) · 1.17 KB
/
routes.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
from flask import render_template, flash, redirect, url_for, request
from app import app
#from app.forms import LoginForm, RegistrationForm, EditProfileForm, ProblemForm
#from flask_login import current_user, login_user, logout_user, login_required
#from werkzeug.urls import url_parse
#from app.models import User, Problem
@app.route('/home')
def home():
return render_template('home.html')
@app.route('/')
@app.route('/index')
@app.route('/tidbits')
def tidbits():
return render_template('tidbits.html')
@app.route('/places')
def places():
return render_template('places.html')
@app.route('/about')
def about():
return render_template('about.html')
@app.route('/energy')
def energy():
return render_template('energy.html')
@app.route('/pink')
def pink():
return render_template('pink.html')
@app.route('/oregon')
def oregon():
return render_template('oregon.html')
@app.route('/entropy')
def entropy():
return render_template('entropy.html')
@app.route('/complimentsandwich')
def complimentsandwich():
return render_template('complimentsandwich.html')
@app.route('/lightbuzz')
def lightbuzz():
return render_template('lightbuzz.html')