Skip to content
Adds filtering by ranges of dates in the admin filter sidebar. http://coolchevy.org.ua
Python
Find file
Latest commit c9fc1ec @coolchevy fix for django 1.3
Failed to load latest commit information.
README url
datefilter.png added example
datefilterspec.py fix for django 1.3

README

Adds filtering by ranges of dates in the admin filter sidebar.

https://github.com/coolchevy/django-datefilterspec

Example:

from django.db import models
import datefilterspec
 
class Person(models.Model):
    date = models.DateTimeField(default=datetime.datetime.now)
    date.date_filter = True

    class Admin:
        list_filter = ['date']

Something went wrong with that request. Please try again.