equal
deleted
inserted
replaced
230 django.http.HttpResponse which contains the alternate response |
230 django.http.HttpResponse which contains the alternate response |
231 should be returned by the calling view. |
231 should be returned by the calling view. |
232 """ |
232 """ |
233 |
233 |
234 checkIsUser(request) |
234 checkIsUser(request) |
235 |
235 |
|
236 try: |
|
237 # if the current user is a developer we allow access |
|
238 checkIsDeveloper(request) |
|
239 return |
|
240 except out_of_band.Error: |
|
241 pass |
|
242 |
236 login_message_fmt = DEF_DEV_LOGOUT_LOGIN_MSG_FMT % { |
243 login_message_fmt = DEF_DEV_LOGOUT_LOGIN_MSG_FMT % { |
237 'role': 'a host for this program'} |
244 'role': 'a host for this program'} |
238 |
245 |
239 splitpath = request.path.split('/') |
246 splitpath = request.path.split('/') |
240 |
247 |