where are "core" and "models.TABULAR" ?

34 views
Skip to first unread message

lowshoe

unread,
Aug 28, 2008, 6:51:16 AM8/28/08
to Django developers
hi,

i just made a fresh checkout of the trunk and now the parameters
"edit_inline = models.TABULAR" and "core=True" in my model definitions
throw the following errors:

text = models.TextField(u'Text', core=True)
TypeError: __init__() got an unexpected keyword argument 'core'

answer = models.ForeignKey(QueryAnswer, verbose_name= u'Answer',
null=True, blank=True, edit_inline = models.TABULAR)
AttributeError: 'module' object has no attribute 'TABULAR'


what's happened with them?

regards, lowshoe





Jacob Kaplan-Moss

unread,
Aug 28, 2008, 10:51:06 AM8/28/08
to django-d...@googlegroups.com
On Thu, Aug 28, 2008 at 5:51 AM, lowshoe <low...@gmail.com> wrote:
> what's happened with them?

Short answer: we merged newforms-admin, which changes the way the
admin models work. Consult the documentation.

If you want a longer answer, the right place to ask is django-users;
django-dev is used for discussion of developing Django itself, not
usage questions.

Jacob

Reply all
Reply to author
Forward
0 new messages