X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/452c475a6450a61a15c857594f995315cf153083..ecd1f5bc214a8ba61b65d4d00a7e7d09a8c8fa3a:/src/club/views.py?ds=inline diff --git a/src/club/views.py b/src/club/views.py index dc1bef07b..74d86de9e 100644 --- a/src/club/views.py +++ b/src/club/views.py @@ -149,17 +149,6 @@ class PayUNotifyView(payu_views.NotifyView): order_model = models.PayUOrder -class MembershipView(UpdateView): - fields = ['name'] - - def get_success_url(self): - # TODO: get only current schedule if multiple. - return self.object.schedule_set.first().get_absolute_url() - - def get_object(self): - return self.request.user.membership - - class ScheduleThanksView(DetailView): model = models.Schedule slug_field = slug_url_kwarg = 'key'