Code Monkey home page Code Monkey logo

django-property-filter's People

Contributors

ericziethen avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar

Forkers

dominecore

django-property-filter's Issues

Write Documentation

  • Write Documentation
  • Create Documentation with saphire
  • Upload to readthedocs.io Deferred
  • Add Documentation to PyPi project Deferred
  • Add Reademe.Md Instructions, Development, Testing, Linting ...

Enhance Documentation

HOW IT WORKS

  • Explain Better the difference to django-filter
  • Explain Non DB Values Usage and Filter
  • explain filter in memory
  • Map Django-filter filters to Property Filters

FILTER OVERVIEW

  • Table/Matrix with all supported Lookupvalues, highlight the default lookup
  • Point out Which Filters cannot be declared Implicitly, e.g. ChoiceFilter -> Maybe use a Matrix?

LIMITATIONS and DRAWBACKS

  • explain filter in memory, so potentially issues for very large data sets
  • Document drawbacks of properties, unexpected file types
  • Document slower, in memory, large set, type convertions might reduce speed
  • document sqlite limitations, e.g. 999 max params limit, or higher depending on sqlite version...
  • Mention if any Filters are particular slow, like Using AllValue and AllValueMultipleChoice, document the field property to create a form and mixing filters, slow if large numbers

TIPS

  • Guideline on how to select the correct filter

DEV TOOLS

  • Add Section how to Run Benchmarks in Dev Documentation

TODO

  • Highlight Supported Fields (See django-filter doc for details) - Highlight Supporting same fields
  • Add limitations also to Readme.MD
  • Review Content

CODE DOCUMENTATION

  • document mixins in code properly, purpose, Inheritance Structure (Mirroring django filters) ...

Restructure Test Classes

There should be a test class for each available Filter so that we can multiple Fields for Tests on the test page.

E.g. There should be a NumberFilterClass and a NumberFilterList which can include multiple fields.

  • Review existing Filters
  • Display All fields in the Filters
  • Review Additional Tests needed
  • Display Filters for all Fields

Setup PyPi config

  • Create Wheel & Installation as Django App Succesfull
  • Test with PiPy-test

PropertyOrderingFilter

  • Data Population for Django Test Project
  • Test Page for Django Test Project
  • Filter Support
  • Document Filter in Docs
  • Document that ordering in memory, so might not be apropriate for large datasets
  • Document because of in memory sorting, only sorting by a single attribute is supported
  • Check https://django-filter.readthedocs.io/en/latest/ref/filters.html for Base Filter Details
  • Add Filter for Special Fields of this Filter, e.g. arguments (list, tuple ...)
  • Filter Test Coverage

NumberFilter incorrectly filters on endswith/iendswith

e.g. Number = 10.
Endswith Filter = '00'
10 is still shown
Even if multiple 0s are shown it's still including

This might be because the default filter is a number filter and 000 might be reduced to 0.
Maybe it should fallback to a string filter?

The original Number filter behaves in the same way.

PropertyChoiceFilter

  • Check https://django-filter.readthedocs.io/en/latest/ref/filters.html for Base Filter Details
  • Check if any Implementation Needed otherwise put in documentary with explanation
  • Data Population for Django Test Project
  • Test Page for Django Test Project
  • Filter Support
  • Don't Allow Choice Filters to be declared Implicitely
  • Document Filter in Docs, only Explicit Declaration since choices need to be passed
  • Filter Test Coverage

PropertyBooleanFilter

  • Filter Support
  • Filter Test Coverage
  • Document Filter in Docs
  • Data Population for Django Test Project
  • Test Page for Django Test Project

Release to PiPy

  • Complete & Release Documentation to readthedocs.io
  • Complete Readme.MD
  • Add documentation to Pypi project
  • Release initial version to Pypi
  • Documentation to Include Populate Test data for Test Django Project
  • Test with Project install from PyPi

Setup Project

  • Setup Project Structure
  • Setup Test Framework (pytest)
  • Setup Linters

PropertyCharFilter

  • Filter Support
  • Filter Test Coverage
  • Document Filter in Docs
  • Data Population for Django Test Project
  • Test Page for Django Test Project

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.