aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework/tests/models.py
AgeCommit message (Collapse)Author
2013-05-10Move models into test modules, out of models moduleTom Christie
2013-02-04Cleanup importsTom Christie
Mostly adding `from __future__ import unicode_literals` everywhere.
2013-01-25Cleaning up GFK test module. Refs #607.Tom Christie
2013-01-07Create separate *NullableOneToOneTests TestCaseMark Aaron Shirley
2013-01-04Handle ObjectDoesNotExist exceptions when serializing null reverse one-to-oneMark Aaron Shirley
2013-01-03Merge pull request #541 from yprez/default_and_partial_serializers2Tom Christie
Fix "default" values and partial serializers. Fixes #532.
2013-01-03Move relation tests models into models.pyMark Aaron Shirley
2012-12-25Regression test for #532 - values overriden by "default" settingYuri Prezument
2012-12-19urls, patterns, include imports move to compat to support incoming 1.3 thru ↵Tom Christie
1.6 import compatability
2012-12-19Merge pull request #510 from joual/masterTom Christie
Fixes #509
2012-12-15Added test for "positive_integer in choices tuple does not get parsed if not ↵Joel Marcotte
string". Signed-off-by: Joel Marcotte <skaner@gmail.com>
2012-12-15Fix model validation exclusions. Fixes #500. Fixes #506.Tom Christie
2012-12-06Merge branch 'master' of ↵Marko Tibold
https://github.com/tomchristie/django-rest-framework into #431
2012-11-30add traverse_related feature + tests (fixes issue#461)Pavel Savchenko
2012-11-22Added _post_clean() behaviour by adding a .perform_model_validation() method.Marko Tibold
Fixed some tests that were failing due to extra strict validation.
2012-11-21added missing lineStephan Groß
2012-11-21Merge remote-tracking branch 'upstream/master' into regex_fieldStephan Groß
Conflicts: docs/topics/release-notes.md
2012-11-21added testsStephan Groß
2012-11-20Fix related serializers with source argument that resolves to a callableJamie Matthews
2012-11-18Add support for min_length / max_length keywordsJacob Magnusson
on basic ModelFields
2012-11-10Reproduces #380Marko Tibold
2012-11-06Merge branch 'master' into restframework2-filterBen Konrath
2012-11-05added testcase for custom slug field in hyperlinkedrelatedfieldStephan Groß
2012-11-03Added test that makes sure that fields withJacob Magnusson
dictionaries as data are returned as expected and not turned into string representations
2012-11-01Merge branch 'master' into restframework2-filterBen Konrath
2012-10-30Merge fixes for 'blank=True' fields. Fixes #324, Fixes #325Tom Christie
Thanks to @Roarster.
2012-10-30Adding failing tests that show null=True model fields are won't validate if ↵Marko Tibold
their value is omitted.
2012-10-28Added wo tests. One for PUTing on a non-existing id-based url. And another ↵Marko Tibold
for PUTing on a non-existing slug-based url. Fix doctoring for 'test_put_cannot_set_id'.
2012-10-27Push tests into a seperate app namespace 'rest_framework.test'Tom Christie
Prevents tests from running by default when rest_framework is installed as 3rd party app. Fixes #316, #185
2012-10-26Fix failing 'default' on ModelSerializerTom Christie
2012-10-22#314 Fix for manytomany field being required in the payload even though the ↵Ian Strachan
field is specified as readonly in the serializer
2012-10-22Fix serialization of reverse relationshipsJamie Matthews
2012-10-17Make default field check safe for boolean values whereby 'False' may be an ↵Rob Dobson
acceptable default value
2012-10-11First attempt at adding filter support.Ben Konrath
The filter support uses django-filter to work its magic.
2012-10-08Fix #285Tom Christie
2012-10-04Fix for field to make it easier to access field relationshipsTom Christie
2012-10-04Tests for default arguments on fieldsTom Christie
2012-10-04Abstract out the app_label on test modelsTom Christie
2012-10-04Abstract out the app_label on test modelsTom Christie
2012-10-03Many2Many testTom Christie
2012-09-28Get test-only models properly workingTom Christie
2012-09-20Change package name: djangorestframework -> rest_frameworkTom Christie