This repository has been archived by the owner on Jun 29, 2020. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
django-filtersで追加要素を指定したい場合はWidgetレベルでの追加が適しているが 既存コードは不要なHackを行なっていたために問題が発生していた。 その部分を本来あるべき姿に直した。 ついでに例としてProductページの絞り込み機能もdjango-filtersを使うように修正を 行った。 まぁ今回の修正はドキュメントにしっかりと書いてないレベルだから仕方ない。 django-filtersのソースコードはある程度読み込むことをおすすめする(ただしあまり 美しくはない)。 Closed #121
- Loading branch information
1 parent
7583e10
commit 782057c
Showing
2 changed files
with
9 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters