aboutsummaryrefslogtreecommitdiffstats
path: root/docs
AgeCommit message (Collapse)Author
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-14Merge branch 'master' of https://github.com/tomchristie/django-rest-frameworkTom Christie
2014-01-14More HyperlinkedModelSerializer docsTom Christie
2014-01-14Use a local virtualenv, not in the users homedir.Tom Christie
2014-01-14Tweak html for hidden h1 on homepageTom Christie
2014-01-14Added h1 and alt to logo to improve SEOJakeSidSmith
Added title attribution to logo
2014-01-14Added write_only and write_only_fields. Refs #1306Tom Christie
2014-01-13Minor tweaks to 'lookup_value_regex' workTom Christie
2014-01-13Merge pull request #1333 from bodylabs/2.4.0+lookup_regexTom Christie
Let viewsets specify their regex
2014-01-13Track changes that need noting in 2.4 announcementTom Christie
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-07New font in logoTom Christie
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.
2014-01-03Merge branch 'master' into logoTom Christie
2014-01-03Link to BrightAPI, and remove ad except from frontpageTom Christie
2014-01-03Frontpage tweaksTom Christie
2014-01-02Fix bugfix noteKevin Brown
This fixes a bugfix note that was added because of #1293, which pointed out that a change in a bugfix [1] broke backwards compatibility. The bugfix did not work as expected because a variable was quoted when it should not have been. This removes the quotes around the variable, which brings back the expected functionality.
2014-01-02Happy new yearTom Christie
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-23Updated release notesTom 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-23Back out permissions example change in favor of easier to follow exampleTom Christie
2013-12-23Simplified some examples in tutorialamatellanes
2013-12-23Revert "Simplified some examples in tutorial"amatellanes
This reverts commit d6806340e54408858da4b2dc991be99edd65df76.
2013-12-23Simplified some examples in tutorialamatellanes
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-17Add note on compat import in tutorialTom Christie
2013-12-17Use the BytesIO for buffering bytes and import the one from the compat module.Xavier Ordoquy
2013-12-16TypoTom Christie
2013-12-14Add note on pagination bugfix. Closes #1293.Tom Christie
2013-12-13Added @philipforget for work on #1232. Thanks :)Tom Christie