How to resolve "django.core.exceptions.ImproperlyConfigured: Application labels aren't unique, duplicates: foo" in Django 1.7?

how to resolve conflict
how to resolve conflict in the workplace
how to resolve conflict in a relationship
how to resolve conflict in marriage
how to resolve conflict in an organization
how to resolve conflicts - git
conflict resolution steps
strategies to resolve conflict in the workplace

On upgrading to Django 1.7 I'm getting the following error message from ./

$ ./ 
Traceback (most recent call last):
  File "./", line 16, in <module>
  File "/home/johnc/.virtualenvs/myproj-django1.7/local/lib/python2.7/site-packages/django/core/management/", line 427, in execute_from_command_line
  File "/home/johnc/.virtualenvs/myproj-django1.7/local/lib/python2.7/site-packages/django/core/management/", line 391, in execute
  File "/home/johnc/.virtualenvs/myproj-django1.7/local/lib/python2.7/site-packages/django/", line 21, in setup
  File "/home/johnc/.virtualenvs/myproj-django1.7/local/lib/python2.7/site-packages/django/apps/", line 89, in populate
    "duplicates: %s" % app_config.label)
django.core.exceptions.ImproperlyConfigured: Application labels aren't unique, duplicates: foo

What's the problem and how do I resolve it?

The problem is that with the changes to apps in Django 1.7, apps are required to have a unique label.

By default the app label is the package name, so if you've got a package with the same name as one of your app modules (foo in this case), you'll hit this error.

The solution is to override the default label for your app, and force this config to be loaded by adding it to

# foo/

from django.apps import AppConfig

class FooConfig(AppConfig):
    name = ''
    label = ''  # <-- this is the important line - change it to anything other than the default, which is the module name ('foo' in this case)


# foo/

default_app_config = ''


How to Resolve Conflicts, Online videos give the answers to: What is Scientology, what do Scientologists believe. Find out Posted: Jul 22, 2011 Definition of resolve. b : to find an answer to. c : to make clear or understandable. d : to find a mathematical solution of. e : to split up into two or more components especially in assigned directions resolve a vector.

I found simple solution for this. In my case following line is added twice under INSTALLED_APPS,


Removed one line fixes the issue for me.

3 Ways to Resolve Conflict Effectively, How to Resolve Conflict Effectively. Conflict is more than a disagreement. It is a deep-rooted problem between two or more people that dictates their attitude  How to Resolve a Conflict at Work - Talking it Over Choose the right time and place to talk. Listen to their perspective. Find things you agree upon. Apologize for any wrongdoing. Resist acting on impulse. Avoid accusations and blame.

I had the same error - try this:

in INSTALLED_APPS, if you are including 'foo.apps.FooConfig', then Django already knows to include the foo app in the application, there is therefore no need to also include 'foo'. Having both 'foo' and 'foo.apps.FooConfig' under INSTALLED_APPS could be the source of your problem.

How to resolve a git merge conflict, Automatic merge failed; fix conflicts and then commit the result. Resolving merge conflicts can take a minute or they can take days (if there are a  RESOLVE is a non-profit, 501(c)(3) organization certified under the National Health Council Standards of Excellence and America’s Best Charities as well as earned the Guidestar Gold Seal of Transparency.

As therefromhere said this is a new Django 1.7 feature which adds a kind of "app registry" where applications must be determined uniquely (and not only having different python pathes).

The name attribute is the python path (unique), but the label also should be unique. For example if you have an app named 'admin', then you have to define the name (name='python.path') and a label which must be also unique (label='my admin' or as said put the full python path which is always unique).

Resolving Team Conflict, Let's look at conflict resolution first, then at preventing it. Resolving Conflict. When a team oversteps the mark of healthy difference of opinion, resolving conflict  The Promise.resolve() method returns a Promise object that is resolved with a given value. If the value is a promise, that promise is returned; if the value is a thenable (i.e. has a "then" method), the returned promise will "follow" that thenable, adopting its eventual state; otherwise the returned promise will be fulfilled with the value.

Well, i created auth app, and i've included it in INSTALLED_APP like src.auth (because it's in src folder) and i got this error, because there is django.contrib.auth app also. So i renamed it like authentication and problem solved.

Resolving a merge conflict using the command line, You must resolve this merge conflict with a new commit before you can merge these branches. Open TerminalTerminalGit Bash. Navigate into the local Git  DaVinci Resolve Advanced Panel Designed with three ergonomically connected control surfaces and a pull out keyboard, the Advanced panel gives you complete command of every color grading session! Each correction control has a separate soft key, knob, high resolution weighted trackball or ring so you can experiment quicker to create a wider range of looks.

Git merge conflicts, Git will see that the conflict has been resolved and creates a new merge commit to finalize the merge. Git commands that can help resolve merge conflicts. General  DaVinci Resolve 16 is the world’s only solution that combines professional 8K editing, color correction, visual effects and audio post production all in one software tool! You can instantly move between editing, color, effects, and audio with a single click.

How to Save Your Relationship & How to Resolve Conflict, If that desire is there, you must learn how to channel it into constructive steps that can fix what is broken, resolve underlying conflicts and ultimately save your  impact@RESOLVE is a platform to design, launch, and scale for-profit enterprises that achieve positive humanitarian and environmental outcomes. Our Partners Include.

How to Resolve and Solve Problems, A great skill to have is the ability to solve problems specifically interpersonal and behavioral problems, effectively. At the same time, it is also a  Get dressed from the top down with the hottest tops in demand this season. V.ery I.mportant B.rands. From chic ‘It’ girl fashion to glam getaway style, these are the names to know this season. shop The Ultimate Dress Guide. Whether you’re a statement shade kinda babe or feel pretty in pastel, we’ve got the perfect dresses to suit your hue.

  • Questioner didn't accept his own answer, but it is correct. Once you do this, you place '' into your INSTALLED_APPS and everything works as expected.
  • Just wanted to mention, once you add the label run the migration like this: python makemigrations
  • Does this work for apps with existing database tables? I get a "dependencies reference nonexistent parent node" error when I make migrations after making these changes.
  • @John_Carter What's a '' normally look like? Does it involve os.path? Is it from the project root?
  • From my observation it's better to avoid dots in label name. The problem was with: AUTH_USER_MODEL = 'apps.auth.User' (won't work). Changing the label name and AUTH_USER_MODEL to 'apps_auth.User' solved the problem.
  • nice observation... it was a silly mistake .. worked for me :)
  • This doesn't really give an answer. The question was what's going wrong with the upgrade, and how to fix it so that the upgrade works. Rolling back to an old version avoids the problem, but doesn't fix it.
  • @anaximander - They're trying to help, therefore this is an answer, even if it's a poor one. Downvote it if you don't like it, but don't flag it. See Your Answer is in Another Castle, When an Answer is not an Answer:…
  • On a question saying "how do I do X in C#?" and someone responded "use Java", that would be considered "not an answer". By the same token, when the question is "how do I fix this issue in version 1.7", I'd argue that "use version 1.6.7" is also not an answer. The answer says "If you want to [go] back to [an] older version". The question is "how do I move up to the newer version". I think that's pretty self-evident.
  • @anaximander Thank you for your comment. I agree with you. The content as my 'answer' is so short without other reason why I return the older version. I just write the information as in my case. When I tried v1.7, I'm failed with same problem of question. There is rare information of this problem, so my answer is restoring to older version at that time. I judged that my case help some guy. Someday, when this information is dedicated, this answer is deep downvoted. Welcome evaluation! I'm glad this discussion. Thank you sincerely! You guys are power of stackoverflow.
  • Just a little tip. If you delete this answer you get back your score ;)