aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework
AgeCommit message (Collapse)Author
2015-01-31_closable_objects as an empty list, not deletedempty_closable_objectsTom Christie
2015-01-29Removed router check for deprecated '.model' attributeTymur Maryokhin
2015-01-28Merge pull request #2475 from sdreher/masterTom Christie
ManyRelatedField.get_value clearing field on partial update
2015-01-28Merge pull request #2479 from lucaswiman/custom_user_shim_db_tableTom Christie
Use the proper db_table argument when constructing meta
2015-01-28Merge pull request #2473 from tomchristie/reload-settingsTom Christie
Reload api_settings when using Django's 'override_settings'
2015-01-27Use the proper db_table argument when constructing metaLucas Wiman
2015-01-27:bug: ManyRelatedField get_value clearing field on partial updateSusan Dreher
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-27Bumped the version.Xavier Ordoquy
2015-01-27Reload api_settings when using Django's 'override_settings'Tom Christie
2015-01-23Merge pull request #2453 from alexsdutton/data-and-files-none-dataTom Christie
Pass {} as data to DataAndFiles, as it ends up in a MergeDict
2015-01-23Pass {} as data to DataAndFiles, as it ends up in a MergeDictAlexander Dutton
In the same vein as #2399.
2015-01-23Added DictField and support for HStoreField.Tom Christie
2015-01-23Support assignment in ClassLookupDictTom Christie
2015-01-23Added UUIDField.Tom Christie
2015-01-23More sensible response caching.Tom Christie
2015-01-23More graceful handling of malformed Content-DispositionTom Christie
2015-01-23Work around meta API differencesTom Christie
2015-01-21Owned by import *Xavier Ordoquy
2015-01-21Workaround Django issue 24198.Xavier Ordoquy
2015-01-21Do not render HTML output for hidden fields. Closes #2410.Tom Christie
2015-01-21Make ReturnDict cachable. Closes #2360.Tom Christie
2015-01-21Allow missing fields option for inherited serializers. Closes #2388.Tom Christie
2015-01-19Merge branch 'master' of https://github.com/tomchristie/django-rest-frameworkTom Christie
2015-01-19NotImplemented -> NotImplementedErrorTom Christie
2015-01-19NotImplemented is not an exceptionAlexander Dutton
`NotImplemented` is a singleton object, not an exception. You should be raising `NotImplementedError` here instead.
2015-01-19ReturnDict and ReturnList repr as standard dict/list. Closes #2421.Tom Christie
2015-01-19Handle UUID objects in JSONEncoder. Closes #2433.Tom Christie
2015-01-19Fix timedelta JSON serialization on Python 2.6.Fabien Bochu
2015-01-14Preserve ordering on relationship drop-down choices. Closes #2408.Tom Christie
2015-01-12Merge pull request #2399 from askholme/masterTom Christie
Fix for FileUploadParser with 3.x
2015-01-12Fix error when NUM_PROXIES is greater than oneJosé Padilla
2015-01-11Fix ident format when using HTTP_X_FORWARDED_FORJosé Padilla
If NUM_PROXIES setting is set to None, HTTP_X_FORWARDED_FOR might be used as is, which might contain spaces and cause errors on cache backends like memcached.
2015-01-10Make FileUploadParser work with standard django APIAsk Holme
Output from parsers ends up in a Django MergeDict and they exists elements to be dicts - not None
2015-01-08Merge remote-tracking branch 'origin/master' into release/3.0.3Xavier Ordoquy
2015-01-08Ammend docstring to use python2/3 compatible example.Tom Christie
2015-01-08Ensure urlparse is not publically exposed in compat.py - less chance of ↵Tom Christie
accidental conflict.
2015-01-07Bumped the version to 3.0.3.Xavier Ordoquy
2015-01-06Fix compatibility comment regarding OrderedDictRyan Gaffney
2015-01-05Pass init arguments through to serializer from pagination serializer.Tom Christie
Closes #2355. Normally a serializer won't need these arguments on __init__, but if a user has customized __init__ they may expect them to be available.
2015-01-05Udpate docstringTom Christie
2015-01-05required=False allows omission of value for output. Closes #2342Tom Christie
2015-01-05Ensure no invalid min_length/min_value/max_value arguments. Closes #2369.Tom Christie
2014-12-29First pass at refactoring get_field_info in utils.model_metaKyle Valade
2014-12-28Update copryright for 2015. Closes #2247.Tom Christie
2014-12-28Support namespaced router URLs with DefaultRouter.Tom Christie
2014-12-28Only pass max_length for CharField. Closes #2317.Tom Christie
2014-12-26Paginated serializers should get context.Tom Christie
2014-12-24Merge pull request #2340 from shtouff/fix-htmlform-textareaTom Christie
Use textarea input for 'models.TextField'.
2014-12-23Remove ‘/‘ from inside variable block {{ }}Andrew Seier
manage.py compress —force causes a warning here.
2014-12-23Remove commented code (warning during compression)Andrew Seier
manage.py compress —force causes a warning here.