Updated tree editor for typo

This commit is contained in:
Gagandeep Singh 2018-11-27 21:45:05 +05:30
parent c53bc77b82
commit e39b5d24a8

View file

@ -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)