coderholic / django-cities

Countries and cities of the world for Django projects
MIT License
927 stars 371 forks source link

CITIES_DATA_DIR setting not working #118

Closed pramttl closed 8 years ago

pramttl commented 8 years ago

This setting was introduced recently to allow changing the default directory where files are downloaded to in the local filesystem. (By default they are downloaded to ..site-packages/cities/data/)

CITIES_DATA_DIR='/var/data'

But I noticed that, even after having this setting configured in my settings.py file. The files were still downloaded to /path/to/site-packages/cities/data/ instead of /var/data as defined by this setting.

coderholic commented 8 years ago

Did you install from github, or on older version from pip?

On Wednesday, May 4, 2016, Pranjal Mittal notifications@github.com wrote:

This setting was introduced recently to allow changing the default directory where files are downloaded to in the local filesystem. (By default they are downloaded to ..site-packages/cities/data/)

CITIES_DATA_DIR='/var/data'

But I noticed that, even after having this setting configured in my settings.py file. The files were still downloaded to /path/to/site-packages/cities/data/ instead of /var/data as defined by this setting.

— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/coderholic/django-cities/issues/118

pramttl commented 8 years ago

@coderholic Oops, I used the pip version. That may be the reason.