Apps with lable XYZ could not be found

Posted by HWM-Rocker on Stack Overflow See other posts from Stack Overflow or by HWM-Rocker
Published on 2010-04-10T18:05:49Z Indexed on 2010/04/10 18:13 UTC
Read the original article Hit count: 295

Filed under:

Hello folks,

today I ran into an error and have no clue how to fix it.

Error: App with label XYZ could not be found. Are you sure your INSTALLED_APPS setting is correct?

Where XYZ stands for the app-name that I am trying to reset. This error shows up every time I try to reset it (manage.py reset XYZ). Show all the sql code works.

Even manage.py validate shows no error.

I already commented out every single line of code in the models.py that I touched the last three monts. (function by function, model by model) And even if there are no models left I get this error.

Here http://code.djangoproject.com/ticket/10706 I found a bugreport about this error. I also applied one the patches to allocate the error, it raises an exception so you have a trace back, but even there is no sign in what of my files the error occurred.

I don't want to paste my code right now, because it is nearly 1000 lines of code in the file I edited the most.

If someone of you had the same error please tell me were I can look for the problem. In that case I can post the important part of the source. Otherwise it would be too much at once.

Thank you for helping!!!

© Stack Overflow or respective owner

Related posts about django