aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework/views.py
AgeCommit message (Collapse)Author
2014-03-04Typo in keywords arguments nameDavid Larlet
Because it matters ;)
2014-03-01In the method permission_denied, did not use the request parameter.hongfeiZhang
2014-01-30Only add 'Vary: Accept' header when there is more than one possible renderer.Tom Christie
2014-01-30Remove TODO note, since it hasn't been TODONE.Tom Christie
2013-10-24Update comment in `get_parser_context`.Tom Christie
2013-09-06Support customizable view EXCEPTION_HANDLERAndy Freeland
Add `api_settings.EXCEPTION_HANDLER` to support custom error responses. Fixes #907.
2013-08-27Use view.settings for API settings, to make testing easier.Tom Christie
2013-08-27Move exception handler out of main viewTom Christie
2013-08-19Document customizable view names/descriptionsTom Christie
2013-08-19Move view name/description functions into public spaceTom Christie
2013-08-17Improved view/description function settingChristopher Paolini
Now supports each View having its own name and description function and overriding the global default.
2013-08-13don't set X-Throttle-Wait-Second header if throttle wait is NoneJeremy Satterfield
2013-06-21Add support for StreamingHttpResponse. Closes #939Tom Christie
2013-06-07Set the args and kwargs before initializing the request.Ethan Fremen
Allows get_parser_context to function correctly. Signed-off-by: Ethan Fremen <ethan@matterport.com>
2013-06-06Never deepcopy validators. Closes #913Tom Christie
2013-05-24Clean up OPTIONS implementationTom Christie
2013-05-23simplified, moved field humanizing to Field. broken testsOscar Vilaplana
2013-05-19fixed tests, added docs, renamed helper methodOscar Vilaplana
2013-05-19Merge remote-tracking branch 'grimborg/issue-192-expose-fields-for-options' ↵Nikolaus Schlemm
into issue-192-expose-fields-for-options
2013-05-19Added tests, cleaned up importsOscar Vilaplana
2013-05-19use double quotes for docstring instead of single quotesNikolaus Schlemm
2013-05-19don't expose fields for GET and DELETE - leaving room for parameters like ↵Nikolaus Schlemm
e.g. filter or paginate
2013-05-19WORKAROUND: avoid errors like "AttributeError: 'APIRoot' object has no ↵Nikolaus Schlemm
attribute 'get_serializer'"
2013-05-19Integrated status quo of grimborg's awesome humanize_field() for exposing ↵Nikolaus Schlemm
field metadata via OPTIONS :)
2013-05-18Merge branch 'issue-192-expose-fields-for-options' of ↵Nikolaus Schlemm
git://github.com/grimborg/django-rest-framework into issue-192-expose-fields-for-options Conflicts: rest_framework/tests/fields.py
2013-05-18Added humanized field names and typesOscar Vilaplana
2013-05-18HEAD and OPTIONS should not be exposed as actions as discussed in ↵Nikolaus Schlemm
https://github.com/nschlemm/django-rest-framework/commit/a42afa04c38afe25c9032b8ce37b572678b02cf1#commitcomment-3241476
2013-05-18only catch relevant exceptions ;)Nikolaus Schlemm
2013-05-18expose the fields metadata via OPTIONS as described in ↵Nikolaus Schlemm
https://github.com/tomchristie/django-rest-framework/issues/192 missing: - get fields for method (currently all the same) - tests - right placement of code
2013-04-25Cleanup docstringsTom Christie
2013-04-23Merge remove-django-genericsTom Christie
2013-04-16Explicit error if dev does not return a response from the viewTom Christie
2013-04-09Minor cleaning up on ViewTom Christie
2013-04-04Factor view names/descriptions out of View classTom Christie
2013-02-28Auth is no longer lazy. Closes #667.Tom Christie
More consistent auth failure behavior.
2013-02-28Drop unused importTom Christie
2013-02-22Py3/2 compat fixes for uncode view names/descriptionsTom Christie
2013-02-22Fixed UnicodeDecodeError on get_name and get_description methodsMichael Elovskikh
2013-02-20Fix docstringTom Christie
2013-02-15Drop unused import.Tom Christie
2013-02-12Tidy up internal view permission checking logic.Tom Christie
Also document correctly - these methods are now public and will fall under the deprecation policy from now on.
2013-02-12New style object-level permission checksTom Christie
2013-02-06Purge naked excepts.Marc Tamlyn
Most of these had obvious exceptions which would be thrown. Some I'm not sure about but they should at least catch only Exception so as not to ignore SystemExit and other inappropriate Error classes.
2013-02-04Cleanup importsTom Christie
Mostly adding `from __future__ import unicode_literals` everywhere.
2013-01-21WWW-Authenticate responsesTom Christie
2013-01-07Merged to latest masterTom Christie
2012-11-14fixed some typosStephan Groß
2012-11-13Implementing 401 vs 403 responsesTom Christie
2012-11-06Support for HTML error templates. Fixes #319.Tom Christie
2012-10-30Fix some typos.Marko Tibold