Giter Club home page Giter Club logo

django-daterange-filterspec's People

Contributors

stuartmackay avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

django-daterange-filterspec's Issues

Icons and Today link disappear

maybe this is a Bug, or a user problem, but...
If you need remove the delete_selected actions from django-admin apps you need wrote this code...

def get_actions(self, request):
    actions = super(ArticulosAdmin, self).get_actions(request)
    if 'delete_selected' in actions:
        del actions['delete_selected']
        return actions

def has_delete_permission(self, request, obj=None):
    return False

look at http://pastebin.com/FXepv7BS and try.

If add this code in admin.py the Icon and today link disappear.
Why I dont know?

No module named daterange

Hello,

When I try to follow the instructions provided, I get the error ModuleNotFoundError: No module named 'daterange'

I am using Django 3.2 with Python 3.8.
I have narrowed it down to the value in INSTALLED_APPS being the one it's complaining about. Any help or advice?

Issue with filtering on related date

("post__date", DateRangeFilter) will trunc the post__ from the URL search query param and throw a FieldError.

For reference, using the simple builtin Django filter for relative time filtering, ("post__date", DateFieldListFilter), results in a correct URL search query param.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.