forgot to save session

This commit is contained in:
Fabian Faessler 2013-09-29 15:17:41 +02:00
parent 8c56bc9f19
commit 536ff42e1e

View File

@ -27,7 +27,8 @@ class HomeView(TemplateView):
af = dns.inet.af_for_address(ipaddr)
key = 'ipv4' if af == dns.inet.AF_INET else 'ipv6'
s[key] = ipaddr
s.save()
return context