#NEWLINE# def get_context_data( self , **kwargs ) : #NEWLINE# #INDENT# context = super ( CreateView , self ) . get_context_data ( ** kwargs ) #NEWLINE# try : #NEWLINE# #INDENT# context [ 'usages' ] = quotas . tenant_limit_usages ( kwargs . request ) #NEWLINE# context [ 'volume_types' ] = self . _get_volume_types ( ) #NEWLINE# #UNINDENT# except Exception : #NEWLINE# #INDENT# exceptions . handle ( self . request ) #NEWLINE# #UNINDENT# return context