diff --git a/users/views/admin/announcements.py b/users/views/admin/announcements.py index 7d1fd67..81382bd 100644 --- a/users/views/admin/announcements.py +++ b/users/views/admin/announcements.py @@ -45,6 +45,7 @@ class AnnouncementCreate(CreateView): class AnnouncementEdit(UpdateView): model = Announcement template_name = "admin/announcement_edit.html" + success_url = Announcement.urls.admin_root extra_context = {"section": "announcements"} def get_context_data(self, **kwargs):