Override dashboard apps - duplicate label

27 views
Skip to first unread message

Pablo Camino Bueno

unread,
Sep 29, 2017, 6:27:35 AM9/29/17
to django-oscar
Hello,

I'm customizing several dashboard apps. Most of them work as expected, but there are 2 of them that throw an error when added in settings.py. 

If I include 'dashboard.reviews' in get_core_apps, this happens:

File "...\lib\site-packages\django\__init__.py", line 27, in setup
    apps.populate(settings.INSTALLED_APPS)
  File "...\lib\site-packages\django\apps\registry.py", line 89, in populate
    "duplicates: %s" % app_config.label)
django.core.exceptions.ImproperlyConfigured: Application labels aren't unique, duplicates: reviews


Same thing happens with 
'dashboard.shipping'.


Pablo Camino Bueno

unread,
Sep 29, 2017, 7:02:55 AM9/29/17
to django-oscar
It seems they need to set default_app_config in __init__.py
Reply all
Reply to author
Forward
0 new messages