+ _default_language_id = 9 # English. XXX magic constant
+
+ @property
+ def default_language(self):
+ # XXX need to get the right mapped class for this to work
+ raise NotImplementedError
+
+ @default_language.setter
+ def default_language(self, new):
+ self._default_language_id = new#.id
+
+ @default_language.deleter
+ def default_language(self):
+ try:
+ del self._default_language_id
+ except AttributeError:
+ pass