@classmethod
    def url(cls):
        return reverse('adminfiles_%s' % cls.slug())
Check the error code returned (c_int).
dataset/ETHPy150Open carljm/django-adminfiles/adminfiles/views.py/BaseView.url--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.2/django/contrib/gis/gdal/prototypes/errcheck.py/check_errcode