#NEWLINE# def specialize( self , field ) : #NEWLINE# #INDENT# 'Wrapper to add module_name and class_name for regrouping' #NEWLINE# field . label = capfirst ( field . label ) #NEWLINE# ( module_name , class_name , _ ) = RE_FIELD_NAME . match ( field . name ) . groups ( ) #NEWLINE# app_label = self . apps [ field . name ] #NEWLINE# field . module_name = app_label #NEWLINE# if class_name : #NEWLINE# #INDENT# model = get_model ( app_label , class_name ) #NEWLINE# if model : #NEWLINE# #INDENT# class_name = model . _meta . verbose_name #NEWLINE# #UNINDENT# #UNINDENT# field . class_name = class_name #NEWLINE# field . verbose_name = self . verbose_names [ field . name ] #NEWLINE# return field