works as a charm
thanks
On 7 ספטמבר, 17:05, Malcolm Box wrote:
> On 7 September 2011 14:57, OC wrote:
>
>
>
>
>
> > Thank you very much for your reply,
> > I changed it but I guess Im doing something wrong cause it still
> > doesnt work:
> > It tries to go to the right page now, but provides
On 7 September 2011 14:57, OC wrote:
> Thank you very much for your reply,
> I changed it but I guess Im doing something wrong cause it still
> doesnt work:
> It tries to go to the right page now, but provides nothing although I
> know there's more than one page:
>
> in views.py
> movies_page= in
Thank you very much for your reply,
I changed it but I guess Im doing something wrong cause it still
doesnt work:
It tries to go to the right page now, but provides nothing although I
know there's more than one page:
in views.py
movies_page= int(request.GET.get('page','1'))
try:
movies
On 7 September 2011 08:25, OC wrote:
> also attaching relevant parts of view.py:
>
>
> movpagin = Paginator(movies, 12)
>
>page = int(request.GET.get('page','1'))
>try:
>moviesp = movpagin.page(page)
>except PageNotAnInteger:
># If page is not an integer, deliver firs
On Sep 6, 4:41 pm, Yaşar Arabacı wrote:
> I think your question can be solved with javascript and ajax, rather than
> with django. How is your knowledge in that area?
This can definitly be resolved with Django, and it's always better to
have something working without js / ajax when possible (you
also attaching relevant parts of view.py:
movpagin = Paginator(movies, 12)
page = int(request.GET.get('page','1'))
try:
moviesp = movpagin.page(page)
except PageNotAnInteger:
# If page is not an integer, deliver first page.
moviesp = movpagin.page(1)
exc
I am familiar with js but not with ajax
I thought that django supports these kind of matters ... isnt it
trivial?
Attached the code
Please advise
{% for movie in movies.object_list %#}
{{movie.name}}
{% e
I think your question can be solved with javascript and ajax, rather than
with django. How is your knowledge in that area?
2011/9/6 OC
> Hi,
>
> I am new to django and I have a pagination question:
> In my web page I need to display 2 query results of two different
> tables
> Each result is disp
Hi,
I am new to django and I have a pagination question:
In my web page I need to display 2 query results of two different
tables
Each result is displayed in a different div in the same page.
How can I implement "multiple" pagination meaning that each result is
displayed in its own panel and has
9 matches
Mail list logo