-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathapp.py
35 lines (31 loc) · 1.18 KB
/
app.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
#cd /Users/saideepsamineni/Neu/Dbms_Project/Python
#http://127.0.0.1:5000
from routes.index import index_bp
from routes.login import login_bp
from routes.create_account import create_account_bp
from routes.events import events_bp
from routes.carpooling import carpooling_bp
from routes.messaging import messaging_bp
from routes.profile import profile_bp
from routes.vehicle import vehicle_bp
from routes.interest import interest_bp
from routes.issue import issue_bp
from routes.admin_login import admin_login_bp
from routes.complaints import complaints_bp
from routes.analyze import analyze_bp
from flask import Flask, render_template, request, redirect, url_for
app = Flask(__name__)
app.secret_key = 'ajaysaivarun'.encode("utf-8")
app.register_blueprint(index_bp)
app.register_blueprint(login_bp)
app.register_blueprint(create_account_bp)
app.register_blueprint(events_bp)
app.register_blueprint(carpooling_bp)
app.register_blueprint(messaging_bp)
app.register_blueprint(profile_bp)
app.register_blueprint(vehicle_bp)
app.register_blueprint(interest_bp)
app.register_blueprint(issue_bp)
app.register_blueprint(admin_login_bp)
app.register_blueprint(complaints_bp)
app.register_blueprint(analyze_bp)