Re: STACKED error won't allow server to run...

2008-11-24 Thread waltbrad
On Nov 24, 7:20 pm, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > On Mon, 2008-11-24 at 15:27 -0800, waltbrad wrote: > > > James' book was written for Django 0.96. There were changes between 0.96 > and 1.0. In particular, the admin structure was improved and changed in > backwards-incompatible

Re: STACKED error won't allow server to run...

2008-11-24 Thread Malcolm Tredinnick
On Mon, 2008-11-24 at 15:27 -0800, waltbrad wrote: [...] > When I try to run the server I get this error: > > File "C:\cms\..\cms\search\models.py", line 7, in SearchKeyword > page = models.ForeignKey(FlatPage, edit_inline=models.STACKED, > AttributeError: 'module' object has no attribute

STACKED error won't allow server to run...

2008-11-24 Thread waltbrad
Hello again. I'm working my way through James Bennet's book. He is implementing the use of a search function in the admin page. The models.py for the project is supposed to read thus: from django.db import models from django.contrib.flatpages.models import FlatPage # Create your models here. c