Re: Pagination on different cards reside on the same template

2021-11-25 Thread Eugene TUYIZERE
Dear David, 

Thanks, after some hours of search,I managed to achieve it with python only.



> On 25 Nov 2021, at 23:26, David Nugent  wrote:
> 
> Hi Eurgene,
> 
> I would implement this in Javascript (or htmx). Some good examples are only a 
> google search away.
> 
> Regards, David
> 
>> On Fri, Nov 26, 2021 at 6:41 AM Eugene TUYIZERE  
>> wrote:
>> Dear Team,
>> 
>> I have 4 cards on a single html page. I want to display data on each one but 
>> since the data has many rows I want to apply pagination on each card. How 
>> can I achieve this? I was thinking of using ListView but this displays 
>> pagination on the whole page. I did not try any other codes because I have 
>> no idea
>> 
>> Kindly assist.
>> -- 
>> Eugene
>> 
>> 
>> 
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Django users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to django-users+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/django-users/CABxpZHvBC0ifjPY8URFq5HdFtJhhYnSbECT6f7Vtr8dX06otAg%40mail.gmail.com.
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/django-users/CAE5VhgViNLYcVwkBZMYA4hN9b0TymjTULoRsbQ06Mof5PYKxKA%40mail.gmail.com.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/51050674-2DD8-4DAF-97B6-1FA96D55ABEF%40gmail.com.


Re: Pagination on different cards reside on the same template

2021-11-25 Thread David Nugent
Hi Eurgene,

I would implement this in Javascript (or htmx). Some good examples are only
a google search away.

Regards, David

On Fri, Nov 26, 2021 at 6:41 AM Eugene TUYIZERE 
wrote:

> Dear Team,
>
> I have 4 cards on a single html page. I want to display data on each one
> but since the data has many rows I want to apply pagination on each card.
> How can I achieve this? I was thinking of using ListView but this displays
> pagination on the whole page. I did not try any other codes because I have
> no idea
>
> Kindly assist.
> --
> *Eugene*
>
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CABxpZHvBC0ifjPY8URFq5HdFtJhhYnSbECT6f7Vtr8dX06otAg%40mail.gmail.com
> 
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAE5VhgViNLYcVwkBZMYA4hN9b0TymjTULoRsbQ06Mof5PYKxKA%40mail.gmail.com.


Pagination on different cards reside on the same template

2021-11-25 Thread Eugene TUYIZERE
Dear Team,

I have 4 cards on a single html page. I want to display data on each one
but since the data has many rows I want to apply pagination on each card.
How can I achieve this? I was thinking of using ListView but this displays
pagination on the whole page. I did not try any other codes because I have
no idea

Kindly assist.
-- 
*Eugene*

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CABxpZHvBC0ifjPY8URFq5HdFtJhhYnSbECT6f7Vtr8dX06otAg%40mail.gmail.com.


Re: Re-write an application from Turbogear to Django.

2021-11-25 Thread Lalit Suthar
I would have chosen the first option, since we can have some relationships
in the database and once all the apis are ready. We can easily pick React
part.

On Thu, 25 Nov 2021 at 23:03, Stamatia  wrote:

> Hi,
>
> I have a question that might need discussion.
> I have a legacy application on Turbogears(1.5) and an old version of
> Dojo.js on front end and I want to re-write it on Django and Reactjs.
>
> What is the best approach to do it?
> Is it better:
> 1. to start with backend and re-write everything on Django and then to
> change the front end
> 2. to change frontend and backend at the same time (step by step - page by
> page)
> 3. or to start with front end, apply the changes to current application
> and then to change backend?
>
> Thanks,
> Stam
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/84a7c2ee-5352-4231-8595-169b780cf3c9n%40googlegroups.com
> 
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAGp2JVF5uMWy3x9fjupaaqEaHLK5u6V%3DdByB%3Dzkd3BPN%2BBqj%2BA%40mail.gmail.com.


Re-write an application from Turbogear to Django.

2021-11-25 Thread Stamatia
Hi,

I have a question that might need discussion.
I have a legacy application on Turbogears(1.5) and an old version of 
Dojo.js on front end and I want to re-write it on Django and Reactjs. 

What is the best approach to do it?
Is it better: 
1. to start with backend and re-write everything on Django and then to 
change the front end
2. to change frontend and backend at the same time (step by step - page by 
page) 
3. or to start with front end, apply the changes to current application and 
then to change backend?

Thanks,
Stam


-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/84a7c2ee-5352-4231-8595-169b780cf3c9n%40googlegroups.com.