Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Application labels aren't unique, duplicates: bootstrap3 #165

Closed
holms opened this issue Aug 20, 2014 · 2 comments
Closed

Application labels aren't unique, duplicates: bootstrap3 #165

holms opened this issue Aug 20, 2014 · 2 comments

Comments

@holms
Copy link

holms commented Aug 20, 2014

Guys, seems that you have a conflict if other cool django app installed: https://github.com/django-admin-bootstrapped/django-admin-bootstrapped

    django@apgavo:~/apgavo$ python manage.py collectstatic
    Traceback (most recent call last):
      File "manage.py", line 10, in <module>
        execute_from_command_line(sys.argv)
      File "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", line 385, in execute_from_command_line
        utility.execute()
      File "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", line 354, in execute
        django.setup()
      File "/usr/local/lib/python2.7/dist-packages/django/__init__.py", line 21, in setup
        apps.populate(settings.INSTALLED_APPS)
      File "/usr/local/lib/python2.7/dist-packages/django/apps/registry.py", line 89, in populate
        "duplicates: %s" % app_config.label)
    django.core.exceptions.ImproperlyConfigured: Application labels aren't unique, duplicates: bootstrap3

settings.py:

    INSTALLED_APPS = (
        'django_admin_bootstrapped.bootstrap3',
        'django_admin_bootstrapped',
        'django.contrib.admin',
        'django.contrib.auth',
        'django.contrib.contenttypes',
        'django.contrib.sessions',
        'django.contrib.messages',
        'django.contrib.staticfiles',
        'django_extensions',
        'bootstrap3',
    )
@adriaant
Copy link

Not an issue for this app. Django-admin-bootstrap has a separate app inside their app as a way to support bootstrap 2 as well as bootstrap 3. That app also doesn't define a models.py file, so it would break when using South anyway.

@dyve
Copy link
Member

dyve commented Aug 20, 2014

Thanks @adriaant for clearing this up.

@dyve dyve closed this as completed Aug 20, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants