etianen / django-reversion

django-reversion is an extension to the Django web framework that provides version control for model instances.
https://django-reversion.readthedocs.io
BSD 3-Clause "New" or "Revised" License
3.03k stars 489 forks source link

Decorator: create_revision request parameter is inheriting wrong object #934

Closed camsvn closed 1 year ago

camsvn commented 1 year ago

❌ def do_revision_view(request, *args, *kwargs) should in fact be ✅ def do_revision_view(self, request, args, **kwargs)

etianen commented 1 year ago

Is this in the documentation? Or a code bug? I'd happily take a fix PR.