sandbox/demo/views.py
def get_form_kwargs(self):
        """
        Pass template pack argument
        """
        kwargs = super(FormContainersMixin, self).get_form_kwargs()
        kwargs.update({
            'pack': "foundation-{}".format(self.kwargs.get('foundation_version'))
        })
        return kwargs
def get_form_kwargs(self):
        kwargs = super(FormContainersMixin, self).get_form_kwargs()
        kwargs.update({
            'pack': "foundation-{}".format(self.kwargs.get('foundation_version'))
        })
        return kwargs
def get_form_kwargs ( self ) : kwargs = super ( FormContainersMixin , self ) . get_form_kwargs ( ) kwargs . update ( { 'pack' : "foundation-{}" . format ( self . kwargs . get ( 'foundation_version' ) ) } ) return kwargs
Pass template pack argument
Pass template pack argument