aboutsummaryrefslogtreecommitdiffstats
path: root/docs/api-guide
AgeCommit message (Collapse)Author
2014-10-29Update authentication.mdAndrew Conti
Based on the [new documentation](https://docs.djangoproject.com/en/dev/topics/auth/customizing/#django.contrib.auth.get_user_model) for Django 1.7 we should now use: ```python @receiver(post_save, sender=settings.AUTH_USER_MODEL) ``` instead of: ```python @receiver(post_save, sender=get_user_model()) ``` because `get_user_model()` only works once Django has imported all models. Otherwise you'll get: ```python django.core.exceptions.AppRegistryNotReady: Models aren't loaded yet. ``` When trying to start your sever after adding token authentication. From the Docs, ( linked above as well ) : >New in Django 1.7: >When connecting to signals sent by the User model, you should specify the custom model using the AUTH_USER_MODEL setting.
2014-10-16Add djoser to authentication docs.konradhalas
2014-09-23remove patterns and strings from urls #1898Collin Anderson
2014-09-17Fixed code formattingMatthew J Morrison
2014-09-17Clarify "raised inside REST framework"Matthew J Morrison
I ran into an issue today where I was not seeing the rest_framework.views.exception_handler do what I thought it should be doing. It turned out that I had imported View from rest_framework.views rather than importing APIView from rest_framework.views. The phrase "raised inside REST framework" was confusing as I was debugging this issue. I was unsure if that meant that I could raise those exceptions in my code or if it had to originate from within framework code. I'm not sure if the proposed wording is ideal, I just wanted to point out what I found to be confusing.
2014-09-10add django rest pandasS. Andrew Sheppard
2014-09-07Fixing quotes in filtering.mdDarren Maki
Incorrect quotes used in examples.
2014-08-29Merge pull request #1784 from tomchristie/remove-model-attributeTom Christie
Deprecate `.model` attribute on views
2014-08-27Update generic-views.mdNathan Hubbell
Small grammar changes.
2014-08-26Update generic-views.mdNathan Hubbell
2014-08-26Merge pull request #1789 from nemesisdesign/patch-5Carlton Gibson
docs: added drf-hstore to third party fields
2014-08-25docs: added HStoreSerializer to third party serializersFederico Capoano
added a reference to django-rest-framework-hstore in docs/api-guide/serializers.md
2014-08-25docs: added drf-hstore to third party fieldsFederico Capoano
added a reference to django-rest-framework-hstore in docs/api-guide/fields.md
2014-08-21Add .model deprecation to release notesTom Christie
2014-08-20Deprecate .model in related routers/permissionsTom Christie
2014-08-19Release notesTom Christie
2014-08-19Merge masterTom Christie
2014-08-18Merge pull request #1654 from carltongibson/1559-take-2Tom Christie
Allow use of native migrations in 1.7 — Take 2
2014-08-18Improve wording.Carlton Gibson
2014-08-18Alter other reference to migrations.Carlton Gibson
2014-08-18Updated docs for South v1.0Carlton Gibson
2014-08-18Merge pull request #1711 from kdazzle/ModelViewSet-queryset-static-propertyTom Christie
Issue #1707: Add documentation to api-docs.viewsets
2014-08-18Link to Django docs on widgets. Closes #1760.Tom Christie
2014-08-09Merge pull request #1745 from nemesisdesign/patch-4Tom Christie
docs: add reference to gis serializer
2014-08-08docs: added reference to gis serializerFederico Capoano
added reference to GeoFeatureModelSerializer of django-rest-framework-gis
2014-08-08docs: added reference to DRF-gis in fieldsFederico Capoano
added django-rest-framework-gis to third party packages section in /docs/api-guide/fields.md
2014-08-06minor doc fix, @api_view() needs an iterableRob Terhaar
2014-07-31Updated Permissions doc link to Django docsKevin London
The previous link went to version 1 docs so it was a dead link.
2014-07-30Add django-rest-framework-mongoengine link. Closes #1722 Closes #1562 Closes ↵Tom Christie
#1545
2014-07-28Issue #1707 - Add info about queryset property caching to get_queryset() docs.Kyle
Add documentation to the get_queryset() method of generic-views.md regarding the caching of the queryset property.
2014-07-28Issue #1707 - Add documentation about the caching of `GenericAPIView.queryset`Kyle
to the `queryset` property, `get_queryset()`, and do generic-views.md; remove changes to the viewsets.md documentation from my last commit.
2014-07-27Issue #1707: Add documentation to api-docs.viewsets notifying usersKyle Valade
that they should use the get_queryset() method when overriding a ModelViewSet method, such as list(). Otherwise, since queryset is a static property, the value will be cached for every instance of that ViewSet.
2014-07-26Merge remote-tracking branch 'origin/master' into 2.4.0Xavier Ordoquy
Conflicts: rest_framework/fields.py
2014-07-22Merge pull request #1692 from davbo/patch-1Tom Christie
Update fields.md
2014-07-20Add link to drf-extra-fields. Closes #1698Tom Christie
2014-07-17Update fields.mdDave King
obj.__class__ will return the actual Class object, we want to serialise a string (accessed with obj.__class__.__name__)
2014-07-07Docs on object level permissions and filters. Closes #1683Tom Christie
2014-07-01Docs tweakTom Christie
2014-06-26Fixes #1651. Add link to drf-extensions nested routers to docsChibisov Gennady
2014-06-24Merge branch '2.4.0' of github.com:tomchristie/django-rest-framework into #1559Carlton Gibson
Conflicts: docs/topics/release-notes.md
2014-06-24Added (first pass) notes to docs & release notes. Backed out ↵Carlton Gibson
`SOUTH_MIGRATION_MODULES` setting from `rest_framework.settings`
2014-06-23Merge remote-tracking branch 'origin/master' into 2.4.0Xavier Ordoquy
Conflicts: .travis.yml docs/api-guide/viewsets.md rest_framework/serializers.py rest_framework/throttling.py tests/test_generics.py tests/test_serializers.py tox.ini
2014-06-10Fix #1614 - Corrected reference to serializers.CharFieldGreg Barker
2014-06-02Fix typo in docsRodolfo Carvalho
2014-05-29Note on configuring TokenAuthenticationTom Christie
2014-05-26Add the allow_add_remove parameter to the get_serializer methodkhamaileon
2014-05-20Merge pull request #1536 from Ian-Foote/choicefield_blank_display_valueTom Christie
Allow customising ChoiceField blank display value
2014-05-20Document ChoiceField blank_display_value parameterIan Foote
2014-05-15Typo fix.Giorgos Logiotatidis
2014-04-30Merge remote-tracking branch 'origin/master' into 2.4.0Xavier Ordoquy
Conflicts: .travis.yml rest_framework/serializers.py rest_framework/tests/test_authentication.py