def get_send_test_email_url(self): return get_permalink('email-notification-send-test', self.pk)
def get_update_url(self): return get_permalink('server-update', self.pk)
def get_update_url(self): return get_permalink('email-notification-update', self.pk)
def get_delete_url(self): return get_permalink('email-notification-delete', self.pk)
def get_context_data(self, **kwargs): context = super(ServerUpdateView, self).get_context_data(**kwargs) context['submit_url'] = get_permalink('server-update', self.kwargs['pk']) return context
def get_update_url(self): return get_permalink('notification-settings-update', self.pk)
def get_success_url(self): return get_permalink('server-list')
def get_context_data(self, **kwargs): context = super(EmailNotificationUpdateView, self).get_context_data(**kwargs) context['submit_url'] = get_permalink('email-notification-update', self.kwargs['pk']) return context
def get_success_url(self): return get_permalink('configuration-main')
def get_context_data(self, **kwargs): context = super(EmailNotificationCreateView, self).get_context_data(**kwargs) context['submit_url'] = get_permalink('email-notification-create') return context
def get_context_data(self, **kwargs): context = super(NotificationSettingsUpdateView, self).get_context_data(**kwargs) context['submit_url'] = get_permalink('notification-settings-update', self.kwargs['pk']) return context