# model class
class Category(models.Model):
CATEGORY_SEPARATOR = "."
name = models.CharField(_('name'), max_length=255)
idname = models.CharField(_('idname'), max_length=255,
db_index=True, unique=True,)
prio = models.IntegerField(_('prio'), default=0)
description = models.Tex
Hi,
I try to use raw sql in admin site, it is possible somehow?
I use postresql and have some problem with ordering.
I have in database something like:
Category(id=1, name='first', parent_category=None,
materialised_path='1')
Category(id=2, name='child1 of first', parent_category=1,
materialised
Hi,
I have very strange problem with simple QuerySet.
I get error just on one of servers, and I realy don't know why.
When I use very simple code like:
Model.objects.filter(is_published=True)
I get stupid error:
"Cannot resolve keyword 'is_published' into field. Choices are: id,
is_published,
Hello,
I have the same problem with entry_set in my related_manager.
On 8 Lis, 05:32, John M <[EMAIL PROTECTED]> wrote:
> DR,
>
> Now I have a new problem. When I use this as a related_manager
> (Report.objects.all()[0].task_set.accomplishments()) it returns all
> the accomplishments. I've eve
4 matches
Mail list logo