Trying to add Django Countries to Django

前端 未结 3 1348
终归单人心
终归单人心 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:48

    If this version was downloaded from google, it looks like the app is in a subfolder called countries. Put this folder in your python dist-packages folder so the path is /usr/local/lib/python2.7/dist-packages/countries and then add countries to the list of installed apps. See this doc for more details http://code.google.com/p/django-countries/source/browse/trunk/INSTALL.txt

提交回复
热议问题