equal
deleted
inserted
replaced
319 if request: |
319 if request: |
320 return |
320 return |
321 |
321 |
322 raise out_of_band.LoginRequest(message_fmt=login_message_fmt) |
322 raise out_of_band.LoginRequest(message_fmt=login_message_fmt) |
323 |
323 |
|
324 def checkIsApplied(request): |
|
325 """Returns an alternate HTTP response if Google Account has no Club App |
|
326 entity for the specified Club. |
|
327 |
|
328 Args: |
|
329 request: a Django HTTP request |
|
330 |
|
331 Raises: |
|
332 AccessViolationResponse: if the required authorization is not met |
|
333 |
|
334 Returns: |
|
335 None if Club App exists for the specified program, or a subclass |
|
336 of django.http.HttpResponse which contains the alternate response |
|
337 should be returned by the calling view. |
|
338 """ |
|
339 |
|
340 #TODO(srabbelier): implement this |
|
341 pass |
|
342 |
324 def checkIsMyNotification(request): |
343 def checkIsMyNotification(request): |
325 """Returns an alternate HTTP response if this request is for a Notification belonging |
344 """Returns an alternate HTTP response if this request is for a Notification belonging |
326 to the current user. |
345 to the current user. |
327 |
346 |
328 Args: |
347 Args: |