Hello Kishan,

This is off-topic for the django-developers mailing-list, which is dedicated to 
the development of Django itself. Please send usage questions to django-users.

The docs for Oscar’s get_core_apps() answer your question:
http://django-oscar.readthedocs.org/en/latest/topics/customisation.html#replace-oscar-s-app-with-your-own-in-installed-apps
 
<http://django-oscar.readthedocs.org/en/latest/topics/customisation.html#replace-oscar-s-app-with-your-own-in-installed-apps>

-- 
Aymeric.



> On 25 août 2015, at 09:11, Kishan Mehta <kishanmeh...@gmail.com> wrote:
> 
> I have been working on a e commerce website. I am using django-oscar 1.1 for 
> this. Here is my installed app looks like :
> 
> INSTALLED_APPS = [
> 'django.contrib.admin',
> 'django.contrib.auth',
> 'django.contrib.contenttypes',
> 'django.contrib.sessions',
> 'django.contrib.messages',
> 'django.contrib.staticfiles',
> # local apps
> 'content',
> 'usermgmt',
> 'resources',
> 'assessment',
> 'analytics',
> 'utils',
> # 'notify',
> # Auth related apps
> 'oauth2_provider',
> 'social.apps.django_app.default',
> 'rest_framework_social_oauth2',
> # rest
> 'rest_framework',
> 'djoser',
> # misc - third party
> 'reversion',
> 'corsheaders',
> 'notifications',
> #oscar
> 'oscarapi',
> 
> 
> ] + get_core_apps()
> 
> 
> While running server : 
> 
> 
> 
> 
> 
> Traceback (most recent call last):
>  File "manage.py", line 10, in <module>
> execute_from_command_line(sys.argv)
>  File 
> "/home/rss-20/.virtualenvs/kishan_pal/local/lib/python3.4/site-packages/django/core/management/__init__.py",
>  line 338, in execute_from_command_line
> utility.execute()
> File 
> "/home/rss-20/.virtualenvs/kishan_pal/local/lib/python3.4/site-packages/django/core/management/__init__.py",
>  line 312, in execute
> django.setup()
> File 
> "/home/rss-20/.virtualenvs/kishan_pal/local/lib/python3.4/site-packages/django/__init__.py",
>  line 18, in setup
> apps.populate(settings.INSTALLED_APPS)
> File 
> "/home/rss-20/.virtualenvs/kishan_pal/local/lib/python3.4/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: analytics
> 
> 
> Aparently analystics is conflicting with the analytics in get_core_apps().
> 
> 
> 
> Is there any way to resolve this ?
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Django developers (Contributions to Django itself)" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to django-developers+unsubscr...@googlegroups.com 
> <mailto:django-developers+unsubscr...@googlegroups.com>.
> To post to this group, send email to django-developers@googlegroups.com 
> <mailto:django-developers@googlegroups.com>.
> Visit this group at http://groups.google.com/group/django-developers 
> <http://groups.google.com/group/django-developers>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/django-developers/f949c181-3e6a-4ec5-9fda-f5e1b9b8f1a4%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/django-developers/f949c181-3e6a-4ec5-9fda-f5e1b9b8f1a4%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers  (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-developers+unsubscr...@googlegroups.com.
To post to this group, send email to django-developers@googlegroups.com.
Visit this group at http://groups.google.com/group/django-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/266CD6B6-A59F-4C1A-8D67-BB5F0F9DCA22%40polytechnique.org.
For more options, visit https://groups.google.com/d/optout.

Reply via email to