On Saturday 18 Mar 2006 4:12 pm, Todd O'Bryan wrote:
> class Datum(meta.Model):
>      kind = meta.IntegerField(choices=DATUM_KINDS)
>      numericValue = meta.IntegerField(blank=True, null=True)
>      textValue = meta.TextField(blank=True)
>      question = meta.ForeignKey(Question,
> edit_inline=meta.STACKED)
>
>      def __repr__(self):
>          return self.textValue;

i think at least one field above has to be marked as core=True

-- 
regards
kg

http://www.livejournal.com/users/lawgon
tally ho! http://avsap.org.in
ಇಂಡ್ಲಿನಕ್ಸ வாழ்க!

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to