From dcf2d801b93e195ad27d349427a7c6aaa8845d61 Mon Sep 17 00:00:00 2001 From: Michael Manfre Date: Tue, 6 Dec 2022 18:55:35 -0500 Subject: 'View in admin' link for post popup menu (#134) --- activities/models/post.py | 1 + 1 file changed, 1 insertion(+) (limited to 'activities') diff --git a/activities/models/post.py b/activities/models/post.py index 55d2f65..1017694 100644 --- a/activities/models/post.py +++ b/activities/models/post.py @@ -219,6 +219,7 @@ class Post(StatorModel): action_delete = "{view}delete/" action_edit = "{view}edit/" action_reply = "/compose/?reply_to={self.id}" + admin_edit = "/djadmin/activities/post/{self.id}/change/" def get_scheme(self, url): return "https" -- cgit v1.2.3