aboutsummaryrefslogtreecommitdiffstats
path: root/tests
AgeCommit message (Collapse)Author
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-27reorganize importsSusan Dreher
2015-01-27reorganize importsSusan Dreher
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-27Reload api_settings when using Django's 'override_settings'Tom Christie
2015-01-23Added DictField and support for HStoreField.Tom 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-23Add missing skipUnless(django_filters)Tom Christie
2015-01-23Fix template loader monkey patching to also support 1.8Tom 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-18Save objects before assigning them in InheritedModelSerializationTests; ↵David Muller
Django 1.8 now throws an error when assigning unsaved objects to Foreign Key, GenericForeignKey, and OneToOneFields
2015-01-05required=False allows omission of value for output. Closes #2342Tom Christie
2014-12-28Support namespaced router URLs with DefaultRouter.Tom Christie
2014-12-28Drop unused importTom Christie
2014-12-28Remove broken test. Closes #2359.Tom Christie
2014-12-24modified the tests accordinglyRemi Paulmier
2014-12-20Merge pull request #2330 from tomchristie/better-blank-html-behaviorTom Christie
Better behavior with null and '' for blank HTML fields.
2014-12-20Better behaviour with null and '' for blank HTML fields.Tom Christie
2014-12-19Merge pull request #2010 from tanwanirahul/masterTom Christie
Ability to customize method names without creating a custom router
2014-12-19Updated tests to use url_path attribute in list and detail decoratorstanwanirahul
2014-12-18Drop print statements in testsTom Christie
2014-12-18Fixes for behavior with empty HTML fields.Tom Christie
2014-12-17Merge pull request #2294 from tomchristie/fix-empty-html-values-with-defaultTom Christie
Fix empty HTML values when a default is provided.
2014-12-17Fix empty HTML values when a default is provided.Tom Christie
2014-12-17Serializer API restrictions.Tom Christie
2014-12-17Merge pull request #2155 from martinmaillard/set-user-on-wrapped-requestTom Christie
Set authenticated user on wrapped request
2014-12-16Add test integrated with middlewareMartin Maillard
2014-12-15Minor test cleanupTom Christie
2014-12-15Use unicode internally everywhere for 'repr'Tom Christie
2014-12-13Fix test for python2/3 compatTom Christie
2014-12-13Better errors when serializer has incorrectly named field.Tom Christie
2014-12-12Clean up import orderingTom Christie
2014-12-12Python 3 test fixTom Christie
2014-12-12Client.logout() also clears any force_authenticateTom Christie
2014-12-11Add testMartin Maillard
2014-12-10Optimizations play nicely with select_related, prefetch_relatedTom Christie
2014-12-09Hyperlinked PK optimization. Closes #1872.Tom Christie
2014-12-09Merge branch 'validator-pollution' of ↵Tom Christie
git://github.com/mhsparks/django-rest-framework into mhsparks-validator-pollution
2014-12-09Add allow_blank for ChoiceField #2184José Padilla
This makes a ChoiceField optional in HTML if model field has `blank=True` set.
2014-12-08Added ListSerializer.validate(). Closes #2168.Tom Christie
2014-12-08Fixed unit test for auth loginVictor Cabral
2014-12-05Test tweaksTom Christie
2014-12-05Merge pull request #2213 from BrickXu/masterTom Christie
Raise error if `fields` on serializer is not a list of strings.
2014-12-05Merge pull request #2200 from maryokhin/masterTom Christie
Clean up compat code
2014-12-05Merge pull request #2195 from tomchristie/tomchristie-escape-u2028-u2029-jsonTom Christie
Escape \u2028 and \u2029 in JSON output.
2014-12-05Add validation for fields & exclude type.BrickXu