From e39b5d24a864efcd2f6024263f02cdacf586c075 Mon Sep 17 00:00:00 2001 From: Gagandeep Singh Date: Tue, 27 Nov 2018 21:45:05 +0530 Subject: [PATCH] Updated tree editor for typo --- categories/editor/tree_editor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/categories/editor/tree_editor.py b/categories/editor/tree_editor.py index 72c40c3..d9b1427 100644 --- a/categories/editor/tree_editor.py +++ b/categories/editor/tree_editor.py @@ -251,7 +251,7 @@ class TreeEditor(admin.ModelAdmin): if django.VERSION[0] == 1 and django.VERSION[1] < 4: context['root_path'] = self.admin_site.root_path elif django.VERSION[0] >= 2: - context['opts'] = self..model._meta + context['opts'] = self.model._meta else: selection_note_all = ungettext('%(total_count)s selected', 'All %(total_count)s selected', cl.result_count)