Thank you for your answer, deleting the table and running manage.py syncdb
did the trick

Geth

On 15 May 2012 17:02, Furbee <furbeena...@gmail.com> wrote:

> Have you checked your database to see that the field actually exists. If
> you've added excerpt_html since you ran python manage.py syncdb you won't
> have the field in the table. You would either need to use South to include
> it, add it by hand to the table, or delete the table and run python
> manage.py syncdb to have it recreated including this field.
>
> Furbee
>
> On Tue, May 15, 2012 at 8:57 AM, Gethin Llyn ab Alwyn 
> <geth...@gmail.com>wrote:
>
>> Hello all!
>>
>> I'm following James Bennett's book Practical Django Projects, and I've
>> got stuck at page 65 Chapter 4. On that page, there is an instruction to
>> add an entry through the models created and added to admin interface under
>> "Entries". I can populate the fields through the add link, but when it
>> comes to saving an entry, this is the error I get:
>> http://dpaste.com/hold/748531/
>>
>> This is the traceback of that error: http://dpaste.com/hold/748536/
>>
>> These are the admin.py http://dpaste.com/hold/748537/
>>                      models.py http://dpaste.com/hold/748538/
>>               and settings.py  http://dpaste.com/hold/748529/
>>
>> I'm wondering where I went wrong, I've googled the error but I can't find
>> anything specific. I'm sorry if it's a dumb question!
>>
>> Thanks
>>
>> Geth
>>
>>
>>
>> --
>> 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
>> django-users+unsubscr...@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/django-users?hl=en.
>>
>
>  --
> 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
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>

-- 
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 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to