Commit 42647e17 authored by Daniel W Bond's avatar Daniel W Bond
Browse files

accidentally reset while trying to demo something to @sherorox

parent 05608090
......@@ -388,6 +388,13 @@ class WelcomePrivacy(LoginRequiredMixin, UpdateView):
def get_success_url(self):
print('in get_success_url method')
print(self.request.user.student.times_changed_room)
print(self.request.user.student.completedPrivacy)
me = Student.objects.get(user=self.request.user)
me.completedPrivacy = True
me.times_changed_room += 1
me.save()
print(self.request.user.student.times_changed_room)
print(self.request.user.student.completedPrivacy)
return reverse('welcomeMajor',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment