Lucas Wiman
a1eba885e2
Use the proper db_table argument when constructing meta
2015-01-27 19:30:44 -08:00
José Padilla
8f33e39f62
Merge pull request #2478 from brandoncazander/version-3.1
...
Clone the versioning_scheme when necessary. Fixes #2477
2015-01-27 21:21:42 -04:00
Brandon Cazander
ac87490b91
Clone the versioning_scheme when necessary. Fixes #2477
2015-01-27 17:10:17 -08:00
Xavier Ordoquy
0daf160946
Fix #2476
2015-01-28 00:06:34 +01:00
Xavier Ordoquy
cf8a09993f
Merge pull request #2474 from linovia/release/3.0.4
...
Release notes for 3.0.4
2015-01-27 23:07:37 +01:00
Susan Dreher
e7da266a86
reorganize imports
2015-01-27 16:32:15 -05:00
Susan Dreher
1714ceae9f
reorganize imports
2015-01-27 16:31:25 -05:00
Susan Dreher
8c3f82fb18
🐛 ManyRelatedField get_value clearing field on partial update
...
A PATCH to a serializer's non-related CharField was clearing an ancillary StringRelatedField(many=True) field.
The issue appears to be in the ManyRelatedField's get_value method, which was returning a [] instead of empty
when the request data was a MultiDict.
This fix mirrors code in fields.py, class Field, get_value, Ln. 272, which explicitly returns empty on a partial update.
Tests added to demonstrate the issue.
2015-01-27 16:18:51 -05:00
Xavier Ordoquy
5b369bf5fe
Bumped the version.
2015-01-27 19:45:37 +01:00
Xavier Ordoquy
925ea4bdc6
Release notes for 3.0.4
2015-01-27 19:43:38 +01:00
Tom Christie
65bca59ea5
Reload api_settings when using Django's 'override_settings'
2015-01-27 13:51:30 +00:00
Tom Christie
107198af94
Merge pull request #2456 from brandoncazander/version-3.1
...
Fix AttributeError on BrowsableAPI when checking for API version
2015-01-27 09:09:59 +00:00
Brandon Cazander
bf58c1265d
Set a version attribute on cloned requests if necessary.
2015-01-26 22:56:57 -08:00
Tom Christie
fc70c0862f
Galileo Press -> Rheinwerk Verlag
2015-01-26 14:07:21 +00:00
Michael Marvick
73bd0d539f
tutorial #5 incorrectly referenced 'settings.py' instead of 'tutorial/settings.py'
2015-01-25 23:47:01 -08:00
Michael Marvick
2a6937f381
tutorial #2 incorrectly showed /item.json instead of /item/.json for format suffixes
2015-01-25 23:46:27 -08:00
Michael Marvick
90c9968a70
tutorial #1 incorrectly showed string of json instead of ReturnDict type from 'serializer.data', and also has a third item in the second usage
2015-01-25 23:45:56 -08:00
José Padilla
221a28ff92
Merge pull request #2458 from jfw/patch-3
...
typo in fields.md
2015-01-25 09:42:41 -04:00
Jeff Fein-Worton
0a65913fea
typo in fields.md
2015-01-24 18:34:16 -08:00
Kevin Brown
9687f4ffae
Merge pull request #2457 from jfw/patch-3
...
minor typo in viewsets docs
2015-01-24 16:30:53 -05:00
Jeff Fein-Worton
39da9c7c86
minor typo in viewsets docs
2015-01-24 12:53:21 -08:00
Brandon Cazander
6c083b12a1
Streamline test for #2455
2015-01-24 11:00:36 -08:00
Brandon Cazander
ed04725822
Use enhanced request when cloning requests for checking permissions on other methods. Fixes #2455
2015-01-24 01:44:40 -08:00
Brandon Cazander
0ee2edc0a1
Add missed files for test.
2015-01-24 01:44:09 -08:00
Brandon Cazander
b09ef28959
Add failing test for request.version AttributeError in BrowsableAPI.
2015-01-24 01:37:23 -08:00
Tom Christie
0cb5acee75
Merge pull request #2453 from alexsdutton/data-and-files-none-data
...
Pass {} as data to DataAndFiles, as it ends up in a MergeDict
2015-01-23 18:03:40 +00:00
Alexander Dutton
a1fa7218eb
Pass {} as data to DataAndFiles, as it ends up in a MergeDict
...
In the same vein as #2399 .
2015-01-23 16:52:24 +00:00
Tom Christie
8f6d7f4a5a
Merge pull request #2451 from tomchristie/dict-field
...
Added DictField and support for HStoreField.
2015-01-23 16:33:37 +00:00
Tom Christie
35f6a82462
Added DictField and support for HStoreField.
2015-01-23 16:27:23 +00:00
Tom Christie
b07d931261
Merge pull request #2448 from tomchristie/uuid-field
...
Added UUIDField.
2015-01-23 15:43:21 +00:00
Tom Christie
47ddbc09d9
Merge pull request #2447 from carltongibson/update-df-references
...
Update Django-Filter references
2015-01-23 15:33:48 +00:00
Tom Christie
889a07f556
Support assignment in ClassLookupDict
2015-01-23 15:32:21 +00:00
Tom Christie
5bb348605e
UUIDField docs
2015-01-23 15:31:08 +00:00
Tom Christie
e8db1834d3
Added UUIDField.
2015-01-23 15:24:06 +00:00
Tom Christie
8f25c0c53c
Add 1.8 support
2015-01-23 14:56:15 +00:00
Tom Christie
39f26c9eca
Merge master
2015-01-23 14:28:59 +00:00
Carlton Gibson
790c92d438
Update Django-Filter references in docs and requirements.
2015-01-23 15:22:20 +01:00
Carlton Gibson
bf0b331e8f
Restore DF for Django 1.8
2015-01-23 15:21:51 +01:00
Tom Christie
4201c9fb01
Drop erronous check-in
2015-01-23 13:42:56 +00:00
Tom Christie
d1fe3f6548
Merge pull request #2446 from tomchristie/django-18-alpha
...
Support 1.8-alpha.
2015-01-23 13:13:05 +00:00
Tom Christie
04a5f7bf0a
Move 1.8-alpha out of 'expected failures'
2015-01-23 13:04:29 +00:00
Tom Christie
f3b6eedb8a
More sensible response caching.
2015-01-23 12:56:55 +00:00
Tom Christie
f1ac9d3f9b
More graceful handling of malformed Content-Disposition
2015-01-23 12:26:44 +00:00
Tom Christie
4cb164b66c
Add missing skipUnless(django_filters)
2015-01-23 11:49:57 +00:00
Tom Christie
e988d57853
Fix template loader monkey patching to also support 1.8
2015-01-23 11:47:01 +00:00
Tom Christie
e307fd289c
Fix test matrix
2015-01-23 11:38:58 +00:00
Tom Christie
5eb6949e9f
Drop django-filter from 1.8
2015-01-23 11:32:04 +00:00
Tom Christie
25a703b42c
Work around meta API differences
2015-01-23 11:15:11 +00:00
Tom Christie
e56f0a928c
Merge pull request #2441 from linovia/bugfix/2425
...
Support for Django 1.8a1
2015-01-23 09:50:10 +00:00
Tom Christie
37dc2520f9
Merge pull request #2428 from tomchristie/cursor-pagination
...
Cursor pagination
2015-01-22 17:44:01 +00:00