praekelt / jmbo-foundry

Jmbo generic behaviour/templates app.
http://www.jmbo.org
Other
1 stars 3 forks source link

Compute Tupple Attribute Error #1

Closed shaunsephton closed 12 years ago

shaunsephton commented 12 years ago

It seems like compute_settings assumes all settings to be lists although they tend to be tupples.

Traceback (most recent call last): File "manage.py", line 16, in <module> import settings File "settings.py", line 162, in <module> foundry_settings.compute_settings(sys.modules[__name__]) File "/python2.7/site-packages/foundry/settings.py", line 244, in compute_settings sender.STATICFILES_DIRS.insert(0, pth) AttributeError: 'tuple' object has no attribute 'insert'

hedleyroos commented 12 years ago

We've since deprecated that nasty bit of code. Turns out it wasn't necessary. jmbo-foundry >= 0.7 makes any call to compute_settings redundant.