Hello, I would see 2 approach to solve the problem you are describing : * Server side - Order the list of employees in your view before passing it to the template * Client side - use a JS to order a Javascript variable
I hope this will help you. --yml On 18 juin, 09:53, laspal <[EMAIL PROTECTED]> wrote: > hi, > I have a list of employee and i want to sort it. > > <a href="" > Employee </a> ( this is my header) > under which i have list of employee. > > So now my question is on clicking employee header I want to change the > list. > Like it happens for user in django admin. > > Please help me out. > > Thannks. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---