Drop unneeded comment

This commit is contained in:
Tom Christie 2017-03-10 09:10:29 +00:00
parent 8818aa9d58
commit f51bb5ac8b

View File

@ -531,7 +531,7 @@ class SchemaGenerator(object):
try:
model_field = model._meta.get_field(variable)
except:
model_field = None # Set model_field to None so it doesn't fail test
model_field = None
if model_field is not None and model_field.verbose_name:
title = force_text(model_field.verbose_name)