#NEWLINE# def get_context_data( self , * args , **kwargs ) : #NEWLINE# #INDENT# context = super ( SubscriptionMixin , self ) . get_context_data ( ** kwargs ) #NEWLINE# context [ 'is_plans_plural' ] = bool ( ( len ( djstripe_settings . PLAN_CHOICES ) > 1 ) ) #NEWLINE# ( context [ 'customer' ] , created ) = Customer . get_or_create ( subscriber = djstripe_settings . subscriber_request_callback ( self . request ) ) #NEWLINE# context [ 'CurrentSubscription' ] = CurrentSubscription #NEWLINE# return context