Skip to content

coolchevy/django-datefilterspec

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

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']

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages