From 536ff42e1ee7978aac4dff568cf7338b38a4453a Mon Sep 17 00:00:00 2001 From: Fabian Faessler Date: Sun, 29 Sep 2013 15:17:41 +0200 Subject: [PATCH] forgot to save session --- nsupdate/main/views.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nsupdate/main/views.py b/nsupdate/main/views.py index 36a8ee1..5342239 100644 --- a/nsupdate/main/views.py +++ b/nsupdate/main/views.py @@ -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