aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework
AgeCommit message (Collapse)Author
2015-03-23Merge pull request #2724 from delinhabit/namespaced-versioning-non-api-reversalTom Christie
Handle reversal of non-API view_name in HyperLinkedRelatedField
2015-03-23Latest translation strings3.1.1Tom Christie
2015-03-23Merge pull request #2726 from linovia/release/3.1.1Tom Christie
Release notes for 3.1.1 and version bump.
2015-03-23Escape tab switching cookieTom Christie
2015-03-23Merge pull request #2743 from maurodoglio/serializer_class-html-rendererTom Christie
Use `serializer_class` for browsable API display, even on plain APIView.
2015-03-22Make BrowsableAPIRenderer use serializer_class when presentmdoglio
2015-03-22Set serializer_class on ObtainAuthToken viewmdoglio
2015-03-22AuthTokenSerializer - properly render password fieldmdoglio
2015-03-19Handling the fallback in `reverse`Ion Scerbatiuc
2015-03-19Release notes for 3.1.1 and version bump.Xavier Ordoquy
2015-03-19Handle reversal of non-API view_name in HyperLinkedRelatedFieldIon Scerbatiuc
2015-03-16use SAFE_METHODS and make tupleDi Wu
2015-03-16Merge pull request #2700 from tomchristie/do-not-paginate-if-page-size-noneTom Christie
Do not paginate if PAGE_SIZE=None
2015-03-16Merge pull request #2631 from Ins1ne/feature/issue-2559Tom Christie
Allow blank/null on radio.html choices
2015-03-16Do not paginate if PAGE_SIZE=NoneTom Christie
2015-03-16Merge branch 'master' of https://github.com/tomchristie/django-rest-frameworkTom Christie
2015-03-16Latest translation stringsTom Christie
2015-03-13fixed missing anchor closing tagmochawich
when next_url is none, big part of page html will be rendered under the <a href='#'> as it does not have a closing tag.
2015-03-13Fix lookup_url_kwarg handling in viewsets.Raphaël Barrois
The ``lookup_url_kwarg`` is intended to set the name of a field in the URL regexps when using custom ``lookup_field``, but the routers ignore it altogether.
2015-03-12Fixed problem with imporing rest_framework.views in apps.pyDirk Moors
2015-03-08Merge pull request #2637 from ↵Carlton Gibson
mdentremont/topic/allow-serialize-unsaved-with-relations Support serializing unsaved models with related fields.
2015-03-07update vertical and inline layouts for radio choicesAider Ibragimov
2015-03-06Merge pull request #2640 from Crystalnix/fix-remove-mergedictJosé Padilla
Remove `MergeDict`
2015-03-06Add support for serializing models with m2m related fieldsMatt d'Entremont
- In both ManyRelatedField, provide an empty return when trying to access a relation field if the instance in question has no PK (so likely hasn't been inserted yet) - Add relevant tests - Without these changes, exceptions would be raised when trying to serialize the uncreated models as it is impossible to query relations without a PK - Add test to ensure RelatedField does not regress as currently supports being serialized with and unsaved model
2015-03-06Tweaks for cursor pagination and docsTom Christie
2015-03-05Remove `MergeDict`Egor Yurtaev
The class MergeDict is deprecated and will be removed in Django 1.9
2015-03-04Merge branch 'master' of https://github.com/tomchristie/django-rest-frameworkTom Christie
2015-03-04Clean up pagination attributesTom Christie
2015-03-04Allow blank/null on radio.html choicesAider Ibragimov
2015-03-03Call default.set_context() only on create. Refs #2619.Tymur Maryokhin
2015-02-27Updated CreateOnlyDefault to call set_context on its default (if callable)Kevin Wood
2015-02-27fix DictKey initial valueJanusz Harkot
2015-02-27Ensure validators are new-style classes on python2Ian Foote
2015-02-27Merge pull request #2608 from ↵Tom Christie
ezheidtmann/dont-swallow-errors-in-callable-sources Dont swallow errors in callable sources
2015-02-26Add explanation for this exception mutationEvan Heidtmann
2015-02-26Avoid swallowing exceptions thrown in callable attributesEvan Heidtmann
2015-02-26Merge pull request #2572 from Ins1ne/masterTom Christie
Fix UniqueTogetherValidator for NULL values
2015-02-26Merge pull request #2602 from dbrgn/fix-1602Tom Christie
List resource not updated between requests
2015-02-26Merge pull request #2587 from jpadilla/select-multiple-disabledTom Christie
Disable select field if no choices available
2015-02-26Pagination tweaks and docsTom Christie
2015-02-25Force-evaluate querysets (see #2602)Danilo Bargen
2015-02-25Remove duplicated code in routers.SimpleRouterYannick PEROUX
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-20Disable select field if no choices availableJosé Padilla
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í