On Monday 24 Aug 2009 5:47:02 pm Gungor wrote:
> class Admin_Panel(admin.ModelAdmin):
>         list_display=("name","surname","date","time")
>         ordering=["-date","time"]
>         search_fields=("name","surname","date")
> class Filtre(admin.ModelAdmin):
>         fil = Randevu.objects.filter(date__gte = datetime(2009,8,24))
>         #fil2 = fil.filter(fil.time__equ = Time(time))
>
> admin.site.register(Randevu,Admin_Panel,Filtre)

you do not need the class Filter - put it as a subclass in your model. Then 
you will have only 3 arguments
-- 
regards
kg
http://lawgon.livejournal.com

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to