django-wiki icon indicating copy to clipboard operation
django-wiki copied to clipboard

syntax error in notifications plugin

Open georgekpg opened this issue 4 years ago • 1 comments

Hi, all

wiki/plugins/notifications/views.py in get_context_data on line 47-48

def get_context_data(self, **kwargs): context = super().get_context_data(self, **kwargs)

Obviously, should be

context = super().get_context_data(**kwargs)     

Django 2.2.12 wiki 0.5 (cannot use 0.6 because of django-mptt requirement is too high)

georgekpg avatar Apr 14 '20 15:04 georgekpg

Hi @georgekpg

We're working on 0.6 now, but I've added a branch for patch releases, releases/0.5.x, you're welcome to fix it there if you can do a PR.

The issue is already fixed in master and 0.6 (beta) https://github.com/django-wiki/django-wiki/blob/master/src/wiki/plugins/notifications/views.py#L53

benjaoming avatar Apr 14 '20 16:04 benjaoming

Closing this as this was already solved in 0.6

oscarmcm avatar Dec 20 '22 19:12 oscarmcm