app/soc/views/user/roles.py
changeset 299 a1cc853a56e5
parent 298 c76a366c7ab4
child 316 9efdc7bc3565
equal deleted inserted replaced
298:c76a366c7ab4 299:a1cc853a56e5
    70   Returns:
    70   Returns:
    71     A subclass of django.http.HttpResponse with generated template.
    71     A subclass of django.http.HttpResponse with generated template.
    72   """
    72   """
    73   #TODO(tlarsen): this module is currently a placeholder for future work
    73   #TODO(tlarsen): this module is currently a placeholder for future work
    74   
    74   
    75   # TODO: if linkname is empty or not a valid linkname on the site, display
    75   # TODO: if link_name is empty or not a valid link_name on the site, display
    76   # some sort of "user does not exist" page (a custom 404 page, maybe?).
    76   # some sort of "user does not exist" page (a custom 404 page, maybe?).
    77   
    77   
    78   return response_helpers.respond(request,
    78   return response_helpers.respond(request,
    79       template, {'template': template})
    79       template, {'template': template})
    80 
    80