@view_config(route_name='group_create',
             request_method='GET',
             renderer='h:templates/groups/create.html.jinja2')
def create_form(request):
    if request.authenticated_userid is None:
        raise exc.HTTPNotFound()

    form = _group_form(request)

    return {'form': form.render()}
Makes sure the result pointer is valid.
dataset/ETHPy150Open hypothesis/h/h/groups/views.py/create_form--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.2/django/contrib/gis/gdal/prototypes/errcheck.py/check_pointer