Trying to add Django Countries to Django

前端 未结 3 1378
终归单人心
终归单人心 2021-01-29 06:14

I am a newbie to django and I am trying to install django countries and am haveing issues. I Installed from http://pypi.python.org/pypi/django-countries/1.0.1. When I installe

3条回答
  •  轮回少年
    2021-01-29 06:56

    Why did you put it into django.contrib? That's for apps that are supplied with Django.

    Install it properly, into its own directory. Then, fix the spelling error you have made in INSTALLED_APPS: countries, not counties.

提交回复
热议问题