All Projects → f213 → Django Suit Daterange Filter

f213 / Django Suit Daterange Filter

Licence: mit
Filter for django-admin allowing lookups by date range

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Django Suit Daterange Filter

Django Object Actions
A Django app for easily adding object tools in the Django admin
Stars: ✭ 374 (+2776.92%)
Mutual labels:  django, django-admin
Requery
Store e run queries on database to help system manager of a Django website
Stars: ✭ 12 (-7.69%)
Mutual labels:  django, django-admin
Django Advanced Filters
Add advanced filtering abilities to Django admin
Stars: ✭ 408 (+3038.46%)
Mutual labels:  django, filter
Djangocms Admin Style
django CMS Admin Style is a Django Theme tailored to the needs of django CMS.
Stars: ✭ 282 (+2069.23%)
Mutual labels:  django, django-admin
Django Oml
Object Moderation Layer
Stars: ✭ 12 (-7.69%)
Mutual labels:  django, django-admin
Awesome Django Admin
Curated List of Awesome Django Admin Panel Articles, Libraries/Packages, Books, Themes, Videos, Resources.
Stars: ✭ 356 (+2638.46%)
Mutual labels:  django, django-admin
Django Nested Admin
Django admin classes that allow for nested inlines
Stars: ✭ 463 (+3461.54%)
Mutual labels:  django, django-admin
Django Wpadmin
WordPress look and feel for Django administration panel
Stars: ✭ 259 (+1892.31%)
Mutual labels:  django, django-admin
Awesome Django
The Best Django Resource, Awesome Django for mature packages.
Stars: ✭ 591 (+4446.15%)
Mutual labels:  django, django-admin
Django Pagedown
A django app that allows the easy addition of Stack Overflow's "PageDown" markdown editor to a django form field, whether in a custom app or the Django Admin
Stars: ✭ 500 (+3746.15%)
Mutual labels:  django, django-admin
Django Page Cms
Official Django page CMS git repository
Stars: ✭ 277 (+2030.77%)
Mutual labels:  django, django-admin
Django Phantom Theme
Phantom is theme for django admin with many widgets, based on Twitter bootstrap 3.x.
Stars: ✭ 18 (+38.46%)
Mutual labels:  django, django-admin
Django Admin Easy
Collection of admin fields and decorators to help to create computed or custom fields more friendly and easy way
Stars: ✭ 265 (+1938.46%)
Mutual labels:  django, django-admin
Django Cruds Adminlte
django-cruds is simple drop-in django app that creates CRUD for faster prototyping
Stars: ✭ 373 (+2769.23%)
Mutual labels:  django, django-admin
Django Fluent Dashboard
An improved django-admin-tools dashboard for Django projects
Stars: ✭ 266 (+1946.15%)
Mutual labels:  django, django-admin
Django Flat Theme
A flat theme for Django admin interface. Modern, fresh, simple.
Stars: ✭ 415 (+3092.31%)
Mutual labels:  django, django-admin
django-admin-search
Modal filter for django admin
Stars: ✭ 60 (+361.54%)
Mutual labels:  filter, django-admin
Django Mptt Admin
Django-mptt-admin provides a nice Django Admin interface for Mptt models
Stars: ✭ 256 (+1869.23%)
Mutual labels:  django, django-admin
Django Ordered Model
Get your Django models in order
Stars: ✭ 476 (+3561.54%)
Mutual labels:  django, django-admin
Django Admin Bootstrap
Responsive Theme for Django Admin With Sidebar Menu
Stars: ✭ 787 (+5953.85%)
Mutual labels:  django, django-admin

Date range filter for django-admin

Build Status codecov PyPI version

Yet another filter for Django admin interface, adding possibility to lookup by date range. The filter is only compatible with django-suit (does anyone use ugly stock admin now?).

django-suit-daterange-filter

Key features:

  • Support both DateField and DateTimeField
  • User timezone support
  • Simplest ever (< 128 SLOC)
  • Well tested
  • Python 3.6 and 2.7 support

Installation

pip install django-suit-daterange-filter

Then add to the settings.INSTALLED_APPS:

INSTALLED_APPS = (
    ...
    'date_range_filter',
)

Usage

# admin.py


from date_range_filter import DateRangeFilter

class EggAdmin(admin.ModelAdmin):
  list_filters = (
    'is_spam',
    'egg_count',
    ('timestamp', DateRangeFilter),
  )

Issues

If you get JS errors about gettext, you should include django's built in i18n javascript, like this:

class EggAdmin(admin.ModelAdmin):
  ...
  class Media:
    js = ['/admin/jsi18n/']

This module is heavily inspired by django-daterange-filter.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].