I have a register() takes at most 3 arguments (4 given) problem with
these codes.
from randevu.rts.models import Randevu
from django.contrib import admin
from datetime import datetime
class Admin_Panel(admin.ModelAdmin):
list_display=("name","surname","date","time")
ordering=["-date","time"]
search_fields=("name","surname","date")
class Filtre():
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 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
-~----------~----~----~----~------~----~------~--~---