Hello,The default behaviour for saving object is very hard for big models,
especially if it contain TextField. For example if I change one small field
in a model and that run save() method it will generate UPDATE query for all
of the fields which is very slow.
Instead of that I do it like that:
p
Yep, django.contrib.sites is not included in the INSTALLED_APPS list.
On 21 Aug 2009, at 10:40, David Christiansen wrote:
>
> Have you checked your INSTALLED_APPS for the sites app as well?
>
> On Aug 20, 10:59 am, Vladimir Prudnikov wrote:
>> I'm *not
I'm *not* using Sites framework ('django.contrib.admin' is not
included in INSTALLED_APPS and SITE_ID is not defined), but there is
an exception when I click on "View on website" link on the edit model
page in admin interface.
Exception Value: You're using the Django "sites framewor
On 14 Jan 2009, at 04:55, Malcolm Tredinnick wrote:
>
> On Wed, 2009-01-14 at 04:39 +0100, Vladimir Prudnikov wrote:
>> My siggestion is about feed framework. When you add description to
>> the
>> feed item like
>>
>> feed.add_item(
>>
My siggestion is about feed framework. When you add description to the
feed item like
feed.add_item(
title=pic.name,
link=link,
description=description
)
the html content inside description tag will be htmlencoded (< and >
will be repl