aboutsummaryrefslogtreecommitdiffstats
path: root/docs/api-guide
AgeCommit message (Collapse)Author
2014-04-30Merge pull request #1391 from kaygorodov/masterXavier Ordoquy
Turning off pagination
2014-04-28typoLaurent Bristiel
2014-04-28very minor typo in code exampledpetzel
2014-04-13Merge remote-tracking branch 'origin/master' into 2.4.0Xavier Ordoquy
Conflicts: .travis.yml docs/api-guide/fields.md docs/api-guide/routers.md docs/topics/release-notes.md rest_framework/authentication.py rest_framework/serializers.py rest_framework/templatetags/rest_framework.py rest_framework/tests/test_authentication.py rest_framework/tests/test_filters.py rest_framework/tests/test_hyperlinkedserializers.py rest_framework/tests/test_serializer.py rest_framework/tests/test_testing.py rest_framework/utils/encoders.py tox.ini
2014-04-10Document new UnicodeYAMLRendererMiro Hrončok
2014-04-08Fix python syntax in filtering docsCraig
2014-03-17Minor docs tweakTom Christie
2014-03-17Tweak DRF compound fields docsTom Christie
2014-03-16Serializer fields section for 3rd-party packagesSteven Cummings
* Add new section to serializer fields page where we can list and link 3rd-party packages that provide more field types * Add an entry for drf-compound-fields
2014-03-06Add SEARCH_PARAM and ORDERING_PARAM to settingsPeter Inglesby
Fixes #1434
2014-02-28Adds HawkREST to 3rd party auth docsKumar McMillan
2014-02-28Fix trailing whitespaceKumar McMillan
Sorry, my editor does this automatically
2014-02-21Minor docs example fixCharlie Denton
Dates are smaller when they happen before.
2014-02-20Link to DRF-extensions. Refs #1430Tom Christie
2014-02-20include djangorestframework-httpsignature in the docsElvio Toccalino
2014-02-18fix(docs): fix code indentation in serializers.mdSaurabh Kumar
It fixes the indentation of `restore_object()` in the section "Specifying which fields should be write-only" serializers documentation.
2014-02-14Update throttling.mdBo Peng
Added comma to make DEFAULT_THROTTLE_CLASSES a tuple in example, for copy&paste to work nicely.
2014-02-14Minor typos fixed in api-guide/testing.md (request -> response).Vita Smid
2014-02-10Replace 'detail' with 'default_detail' in Exceptions guide and APIException ↵Hassan Shamim
class docstring.
2014-02-05#1390, docs, turning of paginationAndrey Kaygorodov
2014-02-05turn of paginationAndrey Kaygorodov
2014-02-04Fixed a bug backticksRicterZ
fix you may optionally exclude the ``self.check_object_permissions, and simply return the object from the `get_object_or_404` lookup. to you may optionally exclude the `self.check_object_permissions`, and simply return the object from the `get_object_or_404` lookup.
2014-02-03Viewsets docs typoCharlie Denton
The docstring in the example said "update" instead of "create".
2014-02-02fixed typo (wrong "its")Jeff Fein-Worton
2014-02-01Update fields.mdmeoooh
2014-01-31Merge pull request #1379 from bodylabs/exception_exampleTom Christie
Fix doc for custom exception sample
2014-01-31Fix doc for custom exception samplePaul Melnikow
The way to provide a default detail for APIException is to define a `default_detail` attribute on the subclass. Defining a `detail` attribute without `default_detail` will not work, and will result in empty detail instead.
2014-01-19Drop django-rest-framework-bulk API descriptionsTom Christie
2014-01-19Merge pull request #1363 from miki725/masterTom Christie
Added docs for bulk views from django-rest-framework-bulk.
2014-01-18Include the djangorestframework-jwt packageJosé Padilla
2014-01-18Added docs for bulk views from django-rest-framework-bulk.Miroslav Shubernetskiy
2014-01-15Security update to OrderingFilter2.3.12Tom Christie
2014-01-14More HyperlinkedModelSerializer docsTom Christie
2014-01-14Added write_only and write_only_fields. Refs #1306Tom Christie
2014-01-13Merge pull request #1333 from bodylabs/2.4.0+lookup_regexTom Christie
Let viewsets specify their regex
2014-01-12CharField - add allow_null argumentYuri Prezument
2014-01-10Merge pull request #1345 from bodylabs/serializers_docTom Christie
serializers.md: Fix typos
2014-01-10serializers.md: Fix typosPaul Melnikow
2014-01-09Fix URL/Slug Field signatures in docsYuri Prezument
2014-01-08Use www.django-rest-framework.org for docs instead of ↵Tom Christie
django-rest-framework.org due to issues with naked domains
2014-01-04Fix a typoPaul Melnikow
2014-01-04Router: Do not automatically adjust lookup_regex when trailing_slash is TruePaul Melnikow
BREAKING CHANGE When trailing_slash is set to True, the router no longer will adjust the lookup regex to allow it to include periods. To simulate the old behavior, the programmer should specify `lookup_regex = '[^/]+'` on the viewset. https://github.com/tomchristie/django-rest-framework/pull/1328#issuecomment-31517099
2014-01-04Allow viewset to specify lookup value regex for routingPaul Melnikow
This patch allows a viewset to define a pattern for its lookup field, which the router will honor. Without this patch, any characters are allowed in the lookup field, and overriding this behavior requires subclassing router and copying and pasting the implementation of get_lookup_regex. It's possible it would be better to remove this functionality from the routers and simply expose a parameter to get_lookup_regex which allows overriding the lookup_regex. That way the viewset config logic could be in the a subclass, which could invoke the super method directly. I'm using this now for PostgreSQL UUID fields using https://github.com/dcramer/django-uuidfield . Without this patch, that field passes the lookup string to the database driver, which raises a DataError to complain about the invalid UUID. It's possible the field ought to signal this error in a different way, which could obviate the need to specify a pattern.
2013-12-23Fuller notes on the 'base_name' argument. Closes #1160.Tom Christie
2013-12-23Added note on view_name in hyperlinked relationships. Closes #1221Tom Christie
2013-12-23Merge branch 'bennbollay-patch-1' into 2.4.0Tom Christie
Conflicts: .travis.yml docs/api-guide/routers.md rest_framework/compat.py tox.ini
2013-12-21Added example of using APIException class. Closes #1300Tom Christie
2013-12-21Docs tweaksTom Christie
2013-12-21Added links to djangorestframework-camel-case in the third partyVitaly Babiy
sections of the docs for both parsers and renderers.
2013-12-13Links to drf-nested-routersTom Christie