aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework
AgeCommit message (Collapse)Author
2015-02-25Fix removal of url_path on @detail_route and @list_route. Fix # #2583Yannick PEROUX
SimpleRouter.get_routes was popping out the url_path kwarg from list_route and detail_route decorators. This was causing troubles when the route was re-used, for example if the viewset was inherited.
2015-02-21Merge pull request #2586 from rense/masterTom Christie
Set field max_length/max_value as actual attribute.
2015-02-21DecimalField fixRense VanderHoek
max_value and min_value are not in kwargs
2015-02-20Check if sessions are enabled before calling logout. Closes #2545.Tymur Maryokhin
2015-02-20Validator-fix, added min/max fields to test_metadataRense VanderHoek
2015-02-20Set field length/values as actual attributes.Rense VanderHoek
The SimpleMetadata class in metadata.py tries to getattr() attributes on a field. For this to work, max_length and min_length have to be actually set as an attribute. Did the same for min_value and max_value and added those two to SimpleMetadata.get_field_info
2015-02-20Fixes HiddenField being rendered in HTMLFormRendererRubén Durá Tarí
2015-02-17Update versionTom Christie
2015-02-17Merge pull request #2567 from carltongibson/18-warningJosé Padilla
Move `importlib` fallback into compat.
2015-02-17Fixes for latest pep8 updates. Refs #2563.Tom Christie
2015-02-17Move `importlib` fallback into compat.Carlton Gibson
2015-02-17Adjust importlib importCarlton Gibson
2015-02-13Merge pull request #2198 from tomchristie/version-3.1Tom Christie
Version 3.1
2015-02-11Fix incorrect HTML parsing for DictFieldTom Christie
2015-02-10Merge pull request #2540 from linovia/release/3.0.53.0.5Xavier Ordoquy
Release/3.0.5
2015-02-10Bumped the version to 3.0.5Xavier Ordoquy
2015-02-10Add `distinct` call in `filter_queryset`Carlton Gibson
2015-02-09Merge masterTom Christie
2015-02-09Fixes for latest version of pep8Tom Christie
2015-02-09Py3 compat fixTom Christie
2015-02-09Fix misleading AttributeErrorsTom Christie
2015-02-06Minor internal API cleanpuTom Christie
2015-02-06Minor cleanups/improvements to ModelSerializer APITom Christie
2015-02-06Minor cleanupTom Christie
2015-02-06Merge branch 'version-3.1' of ↵Tom Christie
git://github.com/jpadilla/django-rest-framework into version-3.1
2015-02-06Upgrade pending deprecations to deprecationsTom Christie
2015-02-06Add trim_whitespace to CharField #2517José Padilla
If set to `True` then leading and trailing whitespace is trimmed. Defaults to `True`.
2015-02-05Update throttling.pyKaptian
Use pk pseudo attribute for identifying the user (in case the user model is not the default and has a different column name for the unique id)
2015-02-05Fix possible nested array fieldsJosé Padilla
2015-02-04Merge remote-tracking branch 'upstream/version-3.1' into version-3.1José Padilla
2015-02-04Add child to ListField when using ArrayFieldJosé Padilla
2015-02-05Fix NamespaceVersioning with hyperlinked serializer fieldsTom Christie
2015-02-04Merge branch 'version-3.1-2489' of ↵Tom Christie
git://github.com/brandoncazander/django-rest-framework into brandoncazander-version-3.1-2489
2015-02-04Merge pull request #2518 from longhotsummer/patch-1Tom Christie
FIX: Don't default to list in method args
2015-02-04Parens around if clauseGreg Kempe
2015-02-04Use inline ifGreg Kempe
2015-02-04Prefetching the user object when getting the token in TokenAuthentication.Ofir Ovadia
Since the user object is fetched 4 lines after getting Token from the database, this removes a DB query for each token-authenticated request.
2015-02-04FIX: Don't default to list in method argsGreg Kempe
Fixes @list_route and @detail_route so that they don't initialize their `methods` parameter as a list. In some cases the list gets cleared, and the result is that default parameter is now empty, and may get reused unexpectedly.
2015-02-04Minor authentication message improvement.Tom Christie
2015-02-02Provide rest_framework.resolve. Fixes #2489Brandon Cazander
2015-02-02Fixed missing whitespace in error string.Jason Yan
2015-02-02Fixed typos in docstrings.Omer Katz
2015-02-01Merge remote-tracking branch 'upstream/version-3.1' into version-3.1José Padilla
Conflicts: rest_framework/serializers.py
2015-02-01Add support for Django 1.8’s ArrayFieldJosé Padilla
2015-01-31Fix field mappings for 1.8 fieldsTom Christie
2015-01-31Fix error text in test.Tom Christie
2015-01-31_closable_objects as an empty list, not deletedempty_closable_objectsTom Christie
2015-01-30Add built-in translations.Tom Christie
2015-01-30Latest translation source messages.Tom Christie
2015-01-30Fix AttributeError on renamed _field_mappingJosé Padilla