django-languages-plus
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.
RuntimeError: Model class countries_plus.models.Country doesn't declare an explicit app_label and isn't in an application in INSTALLED_APPS.
Just install https://pypi.org/project/django-countries-plus/ and add countries_plus to the INSTALLED_APP
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.
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!
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!