mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-05-20 09:18:19 +00:00
Remove extraneous function
getting context data no longer seems needed, if it ever was.
This commit is contained in:
parent
975c3ba9aa
commit
e3ca543f8e
|
@ -234,10 +234,3 @@ class RssShelfFeed(Feed):
|
|||
if obj.description:
|
||||
desc = f" {obj.description}"
|
||||
return f"Books added to the '{obj.name}' shelf for {obj.user.name}.{desc}"
|
||||
|
||||
def get_context_data(self, **kwargs):
|
||||
context = super().get_context_data(**kwargs)
|
||||
# TODO: gotta check that this is the SHELF user!
|
||||
context["user"] = kwargs["request"].user
|
||||
context["shelf"] = kwargs["obj"]
|
||||
return context
|
||||
|
|
Loading…
Reference in a new issue