-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathurls.py
33 lines (32 loc) · 1.35 KB
/
urls.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
from handlers.login import LoginHandler
from handlers.home import HomeHandler
from handlers.loginWithFb import FBLoginHandler
from handlers.loginWithGoogle import GoogleLoginHandler
from handlers.signup import SignupHandler
from handlers.drives import DrivesHandler
from handlers.users import UsersHandler
from handlers.usersVerify import UsersVerifyHandler
from handlers.cars import CarsHandler
from handlers.drivesRequest import DrivesRequestHandler
from handlers.forgetPassword import ForgetPasswordHandler
from handlers.userProvider import UserProviderHandler
from handlers.driveFilter import DrivesFilterHandler
from handlers.resetPassword import ResetPasswordHandler
from handlers.changePassword import ChangePasswordHandler
url_patterns = [
(r"/login", LoginHandler),
(r"/", HomeHandler),
(r"/auth/fb/", FBLoginHandler),
(r"/auth/google/", GoogleLoginHandler),
(r"/signup", SignupHandler),
(r"/drives/([^/]+)?", DrivesHandler),
(r"/drive/filter", DrivesFilterHandler),
(r"/cars/([^/]+)?", CarsHandler),
(r"/users/([^/]+)?", UsersHandler),
(r"/users/verify/", UsersVerifyHandler),
(r"/drives/request/", DrivesRequestHandler),
(r"/forgetPassword", ForgetPasswordHandler),
(r"/user/provider", UserProviderHandler),
(r"/reset/password/([^/]+)", ResetPasswordHandler),
(r"/changePassword", ChangePasswordHandler)
]