<NME> liberate.py
<BEF> ADDFILE
<MSG> Adds data liberation code, tested locally

<DFF> @@ -0,0 +1,15 @@
+
+from django.shortcuts import render
+from django.http import HttpResponseRedirect
+from inboxen.tasks import liberate as data_liberate
+
+def liberate(request):
+    if request.method == "POST":
+        data_liberate.delay(request.user)
+        return HttpResponseRedirect("/user/settings/liberate/done")    
+
+    context = {
+        "page":"Liberate your data",
+    }
+    
+    return render(request, "user/settings/liberate/liberate.html", context)

{'addition_count': 15, 'commit_subject': 'Adds data liberation code, tested locally', 'deletion_count': 0, 'file_extension': '.py', 'lang': 'py', 'license': 'agpl-3.0', 'repo_name': 'Inboxen/Inboxen'}