File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change 16
16
from django .conf .urls import include , url
17
17
from django .conf import settings
18
18
from django .conf .urls .static import static
19
+ from django .http .response import HttpResponse
19
20
from helusers import admin
20
21
from django .views .generic .base import RedirectView
21
22
41
42
url (r'^resource_image/(?P<pk>\d+)$' , ResourceImageView .as_view (), name = 'resource-image-view' ),
42
43
url (r'^v1/' , include (router .urls )),
43
44
url (r'^v1/reservation/ical/(?P<ical_token>[-\w\d]+).ics$' , ICalFeedView .as_view (), name = 'ical-feed' ),
44
- url (r'^$' , RedirectView .as_view (url = 'v1/' ))
45
+ url (r'^$' , RedirectView .as_view (url = 'v1/' )),
46
+ url (
47
+ r'^healthz' ,
48
+ lambda r : HttpResponse ()
49
+ ),
50
+ url (
51
+ r'^readiness' ,
52
+ lambda r : HttpResponse ()
53
+ ),
45
54
]
46
55
47
56
if 'reports' in settings .INSTALLED_APPS :
You can’t perform that action at this time.
0 commit comments