-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path__init__.py
More file actions
executable file
·37 lines (31 loc) · 1.14 KB
/
__init__.py
File metadata and controls
executable file
·37 lines (31 loc) · 1.14 KB
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
'''
This file is called by "from app import app" inside the app.py file.
It includes all the imports to be used in the app (from app.allImports import *).
It also includes all the application files that are used as "pages" in the app
(e.g., "from app import start" imports all the code in start.py that is behind the start.html webpage)
'''
from flask import Flask
app = Flask(__name__)
from app.allImports import *
# Include an import for every python file that is serving a webpage
#import your new python files here. It is not a part of the module until it is imported
from app import deadlineDisplay
from app import deadlineManagement
from app import redirectAdmin
from app import courses
from app import archive
from app import uploads
from app import deleteSyllabus
from app import download
from app import divisionManagement
from app import programManagement
from app import editDivision
from app import editProgram
from app import systemManagement
from app import errorHandler
# from app import databaseAdmin
from app import editAdmin
from app import addCourse
from app import missingSyllabi
from app import removeCourse
from app import contributors