-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathurls.py
27 lines (22 loc) · 867 Bytes
/
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
from applications.User.views.user_login_view import UserLoginView
from applications.User.views.user_signup_view import UserSignupView
from applications.Home.views.home_display_view import HomeAPIView
from applications.Home.views.home_search_view import SearchAPIView
from applications.Admin.views.admin_signup_view import AdminSignupView
from applications.Admin.views.info_add_view import NewsAddView
from applications.Details.views.details import DetailsView
from applications.Admin.views.admin_views import AdminViews
url_patterns = {
# User
'/user/signup': UserSignupView,
'/user/login': UserLoginView,
# Home
'/home/display': HomeAPIView,
'/home/search': SearchAPIView,
# Admin
'/admin/signup': AdminSignupView,
'/admin/add_news': NewsAddView,
'/admin/home': AdminViews,
#Details
'/home/detail':DetailsView
}