Skip to content

Commit

Permalink
fix for django 1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
coolchevy committed Dec 20, 2011
1 parent 5b4bd37 commit c9fc1ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions datefilterspec.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ def __init__(self, *args, **kwargs):

class DateFilterSpec(DateFieldFilterSpec):

def __init__(self, f, request, params, model, model_admin):
def __init__(self, f, request, params, model, model_admin, field_path=None):
super(DateFilterSpec, self).__init__(f, request, params, model,
model_admin)
model_admin,field_path=field_path)
self.field_generic = '%s__' % self.field.name

def title(self):
Expand Down

0 comments on commit c9fc1ec

Please sign in to comment.