mirror of
https://github.com/jazzband/django-constance.git
synced 2026-05-04 13:44:48 +00:00
Use admin_site property of ModelAdmin, to make sure that the correct list of apps is used
This commit is contained in:
parent
3162bd656f
commit
3f5fc73409
1 changed files with 1 additions and 1 deletions
|
|
@ -212,7 +212,7 @@ class ConstanceAdmin(admin.ModelAdmin):
|
|||
)
|
||||
return HttpResponseRedirect('.')
|
||||
context = dict(
|
||||
admin.site.each_context(request),
|
||||
self.admin_site.each_context(request),
|
||||
config_values=[],
|
||||
title=self.model._meta.app_config.verbose_name,
|
||||
app_label='constance',
|
||||
|
|
|
|||
Loading…
Reference in a new issue