Fix mistake with QS swapping
This commit is contained in:
parent
c596194387
commit
adca617369
|
@ -67,7 +67,7 @@ class RenderConfigMixin(ConfigTemplateRenderMixin):
|
|||
Override initial() to save a copy of the queryset for "un-restricting" the queryset when rendering.
|
||||
"""
|
||||
def initial(self, request, *args, **kwargs):
|
||||
self.original_qs = self.queryset
|
||||
self.original_queryset = self.queryset
|
||||
super().initial(request, *args, **kwargs)
|
||||
|
||||
"""
|
||||
|
|
Loading…
Reference in New Issue