Ryan P Kilby
ebaf66db3b
Remove FilterSet iteration from docs
2016-06-30 01:57:59 -04:00
Alasdair Nicol
f52ebfe45e
Updated urlpatterns examples in docs for Django 1.8+
2016-05-10 16:52:42 +01:00
Ryan P Kilby
48783a8f84
Small grammar fixes
2016-04-04 03:01:39 -04:00
Ryan P Kilby
814dc2e34b
Resolve #398
2016-04-04 02:44:51 -04:00
Ryan P Kilby
b50992f502
Move addtl. FilterSet details to separate section
2016-02-19 13:13:20 -05:00
Ryan P Kilby
4b0aec7cd8
Update MethodFilter heading
2016-02-19 13:05:16 -05:00
Ryan P Kilby
4ea3b0a084
Remove section on __init__ override
...
This doesn't really seem appropriate for an introductory section on
basic FilterSet usage.
2016-02-19 13:03:36 -05:00
Ryan P Kilby
366dff1cf0
Restructure dict-syntax and overrides docs
2016-02-19 13:02:07 -05:00
Ryan P Kilby
b8f25d9754
Add declarative filter docs
2016-02-19 12:25:06 -05:00
Ryan P Kilby
a97f7a5d35
Fix typo
2016-02-18 16:00:59 -05:00
Ryan P Kilby
2e8fe94e16
Merge branch 'develop' into lookup-filters
...
Conflicts:
django_filters/filters.py
docs/usage.txt
tests/test_filters.py
tests/test_filterset.py
2016-02-18 14:45:40 -05:00
Carlton Gibson
6384b58859
Merge pull request #372 from alasdairnicol/docs_code_formatting
...
Fixed code formatting in usage docs
2016-02-17 21:28:45 +01:00
Alasdair Nicol
d1e71007c8
Update docs examples to use render instead of render_to_response
2016-02-17 15:59:54 +00:00
Alasdair Nicol
81dd1ecd8e
Fixed code formatting in usage docs
2016-02-17 15:47:13 +00:00
Ryan P Kilby
77f6587595
Django 1.8 does not support transforms
2016-02-04 02:00:42 -05:00
Ryan P Kilby
85a01d6b14
Update tests and documentation for lookup_expr
2016-02-04 00:32:17 -05:00
Adam Dobrawy
7ca5ed6227
Fix docs warning
2016-01-10 05:55:28 +01:00
Carlton Gibson
b360f8b7b1
Merge pull request #221 from jpadilla/develop
...
Allow value and human readable option
2016-01-07 20:27:29 +01:00
José Padilla
7f974045c9
Add docs for custom lookup types
2015-12-28 07:47:48 -04:00
Serhiy Zahoriya
6a763902ce
Typo fixed
2015-10-19 19:01:00 +03:00
Peter Demin
fe93027f4b
typo
2015-09-18 10:16:12 -04:00
Rainer Koirikivi
7224646173
Fix minor typo in usage docs
2015-07-24 15:38:42 +03:00
Carlton Gibson
73a391adb2
Merge pull request #136 from aioTV/develop
...
Adds a third option for strict to raise a Validation Error
2015-07-01 11:16:19 +02:00
Matt d'Entremont
53c08f9a90
Add usage docs for new strictness option
...
- Also fix a typo
2015-06-23 14:33:22 -03:00
William Martin Stewart
a1201f86c7
Minor correction to usage docs
2015-06-22 12:37:05 +02:00
Adam Cardenas
6a8900b510
Added `livehtml` doc loader, and updated docs on `MethodFilter`
2015-04-03 23:30:31 -06:00
Diogo Machado
d3c80b9d34
group filter fields with meta option 'together'
2015-03-17 10:12:29 +00:00
Carlton Gibson
5eede37ff1
Trim whitespace
2014-09-29 20:20:07 +02:00
Carlton Gibson
6f411b6056
Correct dictionary syntax. Fixes #170
2014-09-29 20:19:47 +02:00
Carlton Gibson
8730ecd9ff
Correct Markdown link to rst. Fixes #169
2014-09-29 20:17:43 +02:00
Carlton Gibson
95165eb2d2
Merge pull request #126 from knightsamar/develop
...
Added link to the Django ORM Lookup Type topic in the django docs.
2014-09-25 08:56:39 +02:00
Carlton Gibson
ab2ed15e7e
Merge pull request #162 from eosrei/dictionary-fields
...
New Feature - Simplified field lookup type filters including tests and docs
2014-09-25 08:55:35 +02:00
Brad Erickson
a0a48737e4
Adding FieldSet Meta fields Dictionary docs
2014-09-12 14:33:31 -07:00
Wim Feijen
79cc59912b
Add note that filtered queryset is accessible as f.qs
2014-08-10 22:14:09 +02:00
Riccardo Magliocchetti
89626659e9
docs: document filter_overrides
...
Found it while i was going to reimplement it :)
2014-07-08 14:52:37 +02:00
Samarendra M Hedaoo
4f906b6ccc
Added link to the Django ORM Lookup Type topic in the django docs.
...
This will help a user know what exactly are we talking about when
we say lookup types in Django ORM.
2013-11-25 22:26:30 +05:30
Raitis Stengrevics
b139bfe29e
Fix line-lenght
2013-11-23 15:22:19 +02:00
Raitis Stengrevics
4eaab7acd6
Add warning about lookup type for CharFields/TextFields
...
I had an issue with it and #django IRC said that it's quite common issue so... here we go!
2013-11-23 15:09:32 +02:00
Ogre
d4a35936e4
Updated docs for generic view from "filter_class" to "filterset_class" as expected.
2013-11-12 09:51:08 +00:00
Tim Heap
7d474fc25b
Merge branch 'fix_ordering' into get_order_by
...
* fix_ordering:
Fix regression in order_by
explain the "strict" FilterSet option in the docs...created subsection to make it clearer it isn't a Meta option
keep example FilterSet class name consistent
fix a few tests due to defaulting strict = True
- need to differentiate between actual 'None' value and a ValidationError - grab order_by value in for loop, avoids double lookup and eliminates need for get_value function
change default value for strict to True, and hopefully made the code for filtering with invalid values clearer (also removed _SENTINEL)
Fixed tests for Django 1.6/1.7.
Disable python 2.6 on tests against Django master.
Fixed support for newer wheel versions.
change FilterSet to invoke form errors and skip filtering on invalid data, returning empty queryset with strict mode
Conflicts:
django_filters/filterset.py
2013-08-10 13:55:43 +10:00
Scott White
558ac5cbb5
explain the "strict" FilterSet option in the docs...created subsection to make it clearer it isn't a Meta option
2013-08-08 15:06:00 -04:00
Scott White
ef128896a1
keep example FilterSet class name consistent
2013-08-08 13:34:00 -04:00
Tim Heap
87b8185075
Update docs to reflect renamed get_order_by method
2013-08-05 10:01:33 +10:00
Tim Heap
b6449db48d
Fix a typo in the get_order docs
...
Ordering people by name should be last name, first name; not last name,
last name.
2013-08-05 09:47:47 +10:00
Tim Heap
e0112f0407
Add `FilterSet.get_order()` method for very custom ordering
2013-07-16 17:00:32 +10:00
Daniele Procida
7d0dfb8e45
documents URLs notes amended
2013-06-04 13:01:38 +01:00
Daniele Procida
7e929e18ed
amend 'constructor' to 'initializer'
2013-06-04 10:04:50 +01:00
Daniele Procida
4fb7035994
documentation formatting & minor corrections
2013-06-04 09:54:49 +01:00
nkryptic
c3d51c1005
major refactor of the tests:
...
* moves tests package to root of project and renames it to test_django_filters
* splits tests.py into multiple files
* removes fixture need by creating instances on the fly
** attempted to use factory_boy instead, but it isn't py3k compatible yet
* uses django-discover-runner to find the test cases
while primarily focused on test refactoring, it also:
* updates runtests.py to allow more flexibility when running tests
* adds a runshell.py which configures django, runs syncdb and loads the test environment shell (in-memory sqlite db)
* adds pip requirements files for new test dependencies
* updates MANIFEST.in for test package split
* uses py3k compatible relative imports when possible
* removes XMLField handling, since we only support Django >= 1.4
* removes unnecessary code to get length on MultipleChoiceField's choices when filtering
* updates code for pep8 and pyflakes adherence
2013-02-18 20:07:28 -05:00
nkryptic
d103ed9185
Merge branches 'better-ordering-field' and 'class-based-view' into multimerge
2013-01-20 19:24:02 -05:00