On 2007-05-03 13:30:57 -0600, Moses Ting <[EMAIL PROTECTED]> said: > > Anyone knows how the Django developers implemented the nice filtering > feature in Admin. For example, if filtering is turned on for the id > column, then the filters will automatically apply the following key/ > value pair to the end of the link. > > /?object_id__exact=2 > > How then, does this get implemented into the query to yield correct > results? > > Sincerely, > > > Check out the ChangeList class here:
http://code.djangoproject.com/browser/django/trunk/django/contrib/admin/views/main.py -- Brian Rosner http://www.brosner.com/blog --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---