def templateDict(request): ''' Will be accessible as {{ data }} in your template. Remember that this can be a dict or whatever you want but the data will loaded at page load, not when you open the filter! ''' form = getIpInputHtml(request) return {'form': form}
def get(self, request): html = getIpInputHtml(request) return html