willhardy / django-seo

Provides a set of tools for managing Search Engine Optimisation (SEO) for Django sites.
BSD 3-Clause "New" or "Revised" License
251 stars 117 forks source link

Error on syncdb: AttributeError: 'tuple' object has no attribute 'index' #4

Closed dzida closed 13 years ago

dzida commented 13 years ago

Hi,

I have a problem with running syncdb after installing django-seo (I use version from commit: https://github.com/willhardy/django-seo/commit/bce453c4c6c0d0fd71ab90881c2bd044cd87dc15)

Fragment of traceback: File "build\bdist.win32\egg\rollyourown\seo\base.py", line 202, in new File "build\bdist.win32\egg\rollyourown\seo\backends.py", line 309, in validate AttributeError: 'tuple' object has no attribute 'index'

Before syncdb I have:

Any help is much appreciated.

Regards, Lukasz

willhardy commented 13 years ago

Looks like I didn't test in python 2.5, as the index method for tuples was first added in python 2.6 (ie 3k).

I've just pushed a fix for this, thanks for letting me know!

dzida commented 13 years ago

Now it works fine.

Thanks a lot!