I'm sorry but after updating (revision 786) this simple example
still has the problem I reported:

class Poll(meta.Model):
    question = meta.CharField(maxlength=200,primary_key=True)
    def __repr__(self):
        return self.question
    class META:
        admin = meta.Admin()
        pass
    pass

class Choice(meta.Model):
    poll = meta.ForeignKey(Poll,raw_id_admin=True)
    choice = meta.CharField(maxlength=200)
    class META:
        admin = meta.Admin()
        pass
    pass

In admin interface I insert a poll and then when trying to insert
a choice  (so a poll pk) I get "Please correct the error below. Enter
a whole number." around poll entry.

I just did an 'svn update' and django has the usual soft link to
/usr/local/lib/python2.4/site-packages/ , so I think I'm running the
correct version. Did I miss something?

Anyway, thanks!

Emanuele

Reply via email to