During an update of Debian ("squeeze/sid") last week, something broke
the previously functional Postgresql schema syntax on my site(s).

Up until the update, this was working fine:

class Meta:
  db_schema = "world"
  db_table = "country"

Once I performed the update, the following error occurs:
 File "/usr/lib/pymodules/python2.6/django/db/models/base.py", line
53, in __new__
  new_class.add_to_class('_meta', Options(meta, **kwargs))
File "/usr/lib/pymodules/python2.6/django/db/models/base.py", line
213, in add_to_class
  value.contribute_to_class(cls, name)
File "/usr/lib/pymodules/python2.6/django/db/models/options.py", line
93, in contribute_to_class
  raise TypeError("'class Meta' got invalid attribute(s): %s" %
','.join(meta_attrs.keys()))
TypeError: 'class Meta' got invalid attribute(s): db_schema

I quickly reverted to the previous syntax to use

class Meta:
  db_table='"world"."country"'

which is working OK.

It definitely resulted from the Debian upgrade, Unfortunately, I
wasn't paying attention to the packages that were upgraded, and so I'm
at a loss to pinpoint the error.

The post-update packages are:

python-django 1.2.1-1
postgresql 8.4.4-1
python 2.6.5+

Any ideas?  Anything else I can supply to help diagnose this?

-Steve

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to