> Hello soundseeker!
> On Mon, 06 Nov 2006 02:20:25 -0800 you wrote:
>
> > def show_categories(request, col, direction):
> > paginate_by = 15
> > paginator =
> > ObjectPaginator(VMergeDocsInfo.objects.all().by_categories(),
> > paginate_by)
>
> Maybe something like this: VMergeDocsInfo.obj
Hello soundseeker!
On Mon, 06 Nov 2006 02:20:25 -0800 you wrote:
> def show_categories(request, col, direction):
> paginate_by = 15
> paginator =
> ObjectPaginator(VMergeDocsInfo.objects.all().by_categories(),
> paginate_by)
Maybe something like this: VMergeDocsInfo.objects.by_catego
Hello,
here's a django/python newbie problem, which I could not resolve after
spending some time with reading and testing.
Assuming a method in my models.py
class VMergeDocsInfo(models.Model):
..
def by_categories(self):
from django.db import connection
hi,
some newbie questions here... after spending much time with
reading/testing I still have no solution; some help is needed and
appreciated.
here's the problem:
having a class definition with a custom sql statement:
class VMergeDocsInfo(models.Model):
def by_categories(self):
4 matches
Mail list logo