coderholic/django-cities — Issue #24: CRITICAL/BLOCKING AttributeError: 'Settings' object has no attribute 'CITIES_FILES'
Author: jpic
Created: 2011-12-12 13:07:49+00:00
State: open

This is likely to have been caused by recent changes, when doing syncdb:

Traceback (most recent call last):
File "./manage.py", line 20, in
execute_from_command_line()
File "/srv/art_dev/art_dev_env/lib/python2.7/site-packages/django/core/management/__init__.py", line 429, in execute_from_command_line
utility.execute()
File "/srv/art_dev/art_dev_env/lib/python2.7/site-packages/django/core/management/__init__.py", line 379, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/srv/art_dev/art_dev_env/lib/python2.7/site-packages/django/core/management/base.py", line 191, in run_from_argv
self.execute(*args, **options.__dict__)
File "/srv/art_dev/art_dev_env/lib/python2.7/site-packages/django/core/management/base.py", line 219, in execute
self.validate()
File "/srv/art_dev/art_dev_env/lib/python2.7/site-packages/django/core/management/base.py", line 249, in validate
num_errors = get_validation_errors(s, app)
File "/srv/art_dev/art_dev_env/lib/python2.7/site-packages/django/core/management/validation.py", line 35, in get_validation_errors
for (app_name, error) in get_app_errors().items():
File "/srv/art_dev/art_dev_env/lib/python2.7/site-packages/django/db/models/loading.py", line 146, in get_app_errors
self._populate()
File "/srv/art_dev/art_dev_env/lib/python2.7/site-packages/django/db/models/loading.py", line 61, in _populate
self.load_app(app_name, True)
File "/srv/art_dev/art_dev_env/lib/python2.7/site-packages/django/db/models/loading.py", line 78, in load_app
models = import_module('.models', app_name)
File "/srv/art_dev/art_dev_env/lib/python2.7/site-packages/django/utils/importlib.py", line 35, in import_module
__import__(name)
File "/srv/art_dev/art_dev_env/src/cities/cities/models.py", line 4, in
from conf import settings
File "/srv/art_dev/art_dev_env/src/cities/cities/conf.py", line 129, in
settings = create_settings()
File "/srv/art_dev/art_dev_env/src/cities/cities/conf.py", line 107, in create_settings
res.files.update(django_settings.CITIES_FILES)
File "/srv/art_dev/art_dev_env/lib/python2.7/site-packages/django/utils/functional.py", line 277, in __getattr__
return getattr(self._wrapped, name)
AttributeError: 'Settings' object has no attribute 'CITIES_FILES'