django-languages-plus icon indicating copy to clipboard operation
django-languages-plus copied to clipboard

Error when running the example: RuntimeError: Model class countries_plus.models.Country doesn't declare an explicit app_label and isn't in an application in INSTALLED_APPS.

Open azataiot opened this issue 2 years ago • 1 comments

RuntimeError: Model class countries_plus.models.Country doesn't declare an explicit app_label and isn't in an application in INSTALLED_APPS.

azataiot avatar Jan 31 '23 10:01 azataiot

Just install https://pypi.org/project/django-countries-plus/ and add countries_plus to the INSTALLED_APP

jerzy-kurowski avatar Jan 03 '24 09:01 jerzy-kurowski

This works, but if languages-plus is dependant on countries-plus, it should automatically pull it in. Then I would update the instructions to add countries-plus as an installed app as well.

ShmuelTreiger avatar Jun 05 '24 20:06 ShmuelTreiger

countries-plus is a dependency so it should be automatically installed, however you're right that the install instructions fail to mention that you have to add it to your installed apps. Good catch, will change!

cordery avatar Jun 06 '24 08:06 cordery

I just tested it and indeed, countries-plus did get automatically installed. Not sure what happened yesterday.

Thanks for your work creating and maintaining these projects!

ShmuelTreiger avatar Jun 06 '24 19:06 ShmuelTreiger