Mark Henwood
9b468fba60
Amend ViewSet docs to warn of potential problem
...
I went through this exact problem and so thought the docs might
benefit from a small hint at the appropriate point.
2014-12-07 12:02:43 +00:00
Tom Christie
59b2ad5425
Minor docs tweaks
2014-12-05 13:23:14 +00:00
Tom Christie
e2587c7b4d
Merge pull request #2204 from carltongibson/default-docs-fix
...
Clarify read-only & `unique_together` Documentation
2014-12-05 13:20:16 +00:00
Tom Christie
9fb1b396db
user in example should have been instance. Closees #2191 .
2014-12-05 13:07:31 +00:00
Carlton Gibson
6ee361332b
Add missing definite article
2014-12-04 14:15:01 +01:00
Carlton Gibson
71e1a3942e
Initial link from Serializers to Validators
2014-12-04 12:15:14 +01:00
Matías Lang
5ad22aea60
Updated serializers documentation
...
There was an error in the docs: the field extra_field_kwargs of the serializer's Meta doesn't work. The field must be extra_kwargs instead.
2014-12-02 12:23:25 -03:00
David Ray
84cff98fbf
fix typo
2014-12-02 09:46:43 -05:00
Tom Christie
6ac79b8223
Document Field.fail(). Closes #2147 .
2014-12-02 09:19:59 +00:00
Tom Christie
f4fc4670ca
Promote 'many_init' to public API. Closes #2152 .
2014-12-02 08:53:36 +00:00
Tom Christie
555c450497
Add missing 'validators.py' link. Closes #2166 .
2014-12-01 14:46:47 +00:00
Tom Christie
08c727add3
@api_view defaults to allowing GET
2014-11-28 15:55:02 +00:00
Tom Christie
9ba29a88d6
Finalizing 3.0 release notes
2014-11-28 14:43:33 +00:00
Tom Christie
8e549a76ea
Add 2.x notes and links
2014-11-28 14:26:03 +00:00
Tom Christie
276a2a52ee
Docs on nested creates/updates and suchlike
2014-11-28 11:26:35 +00:00
Tom Christie
34ca8cd2a5
Moar docs. Amazing.
2014-11-28 09:56:44 +00:00
Tom Christie
0262262fee
3.0 serializer docs
2014-11-27 08:09:58 +00:00
Tom Christie
786cab705a
Tweak to 3.0 relationship docs
2014-11-26 11:38:48 +00:00
Tom Christie
5a5a73c7fe
3.0 docs and tidy-up for serializer relationships
2014-11-26 11:30:49 +00:00
Tom Christie
e1b14cbe4a
3.0 docs for serializer fields
2014-11-26 10:27:29 +00:00
Tom Christie
0f5338ada9
Call out removal of pre_save/post_save more strongly
2014-11-26 09:06:15 +00:00
Tom Christie
c01c631ef2
perform_create, perform_update, perform_destroy hooks
2014-11-26 09:04:48 +00:00
Tom Christie
31536566d7
Updating fields docs
2014-11-25 17:35:27 +00:00
Tom Christie
f13c0ebe69
Merge master
2014-11-25 16:27:00 +00:00
Tom Christie
8c91e7b742
Add missing options
2014-11-25 15:52:13 +00:00
José Padilla
16d442dda3
Use MkDocs meta.source to render source code links
2014-11-25 12:44:11 +00:00
Tom Christie
c4dff54ecc
Docs on ValidationError
2014-11-25 12:04:46 +00:00
Tom Christie
a3c0c8fb90
Add missing period.
2014-11-25 12:04:35 +00:00
Tom Christie
2e726e22a3
request.DATA, request.FILES -> request.data
2014-11-25 11:42:43 +00:00
Matthew Dapena-Tretter
8e940a22fb
Clarify how permission classes are composed
...
all/every/AND or any/OR? all/every/AND!
2014-11-21 16:04:45 -05:00
Tom Christie
0f508c5821
Docs for advanced default argument usage. Closes #1945
2014-11-17 18:36:32 +00:00
Tom Christie
fd7db776ad
Bring UniqueValidator implementation in line with other uniquness validators.
2014-11-10 12:32:03 +00:00
Tom Christie
f387cd89da
Uniqueness constraints imply a forced 'required=True'. Refs #1945
2014-11-10 12:21:27 +00:00
Brett Koonce
b44def4650
minor spelling tweaks
2014-11-06 23:19:26 -08:00
Tom Christie
5250700659
Add docs on request.accepted_renderer and .accepted_media_type
2014-11-05 11:14:41 +00:00
Tom Christie
571440e143
Stronger calling out of 'DjangoObjectPermissionsFilter'. Closes #1934 .
2014-11-05 10:53:46 +00:00
Tom Christie
09f3eedb23
Add notes re view-level and instance-level permissions checks. Closes #1819 .
2014-11-03 15:23:16 +00:00
Tom Christie
78ac332f18
Add docs on Meta inheritance. Closes #1926 .
2014-11-03 15:08:19 +00:00
Tom Christie
21d06a4103
Added NON_FIELD_ERRORS_KEY to serializer docs. Closes #1971 .
2014-11-03 15:03:10 +00:00
Tom Christie
d27b8cc09b
PUT as create docs, and move mixin out to external gist
2014-11-03 12:00:19 +00:00
Tom Christie
0e59c27e2f
Merge branch 'master' into version-3.0
2014-10-31 15:19:40 +00:00
Tom Christie
159c3de9fc
Merge master
2014-10-31 15:19:15 +00:00
Tom Christie
254701230d
Fix up validators docs
2014-10-31 13:58:40 +00:00
Tom Christie
2762205887
Validator documentation and tweaks
2014-10-31 13:47:36 +00:00
Andrew Conti
f25f05dde5
Update authentication.md
...
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-29 16:31:36 -04:00
konradhalas
113a28ed8a
Add djoser to authentication docs.
2014-10-16 13:48:18 +02:00
Tom Christie
babdc78e61
Typo
2014-10-09 11:39:01 +01:00
Tom Christie
6637b2fae0
Document the Metadata API
2014-10-09 11:08:26 +01:00
Craig de Stigter
dfab9af294
Minor: fix spelling and grammar, mostly in 3.0 announcement
2014-10-03 08:41:18 +13:00
Tom Christie
ac71d9aaae
Merge master
2014-09-26 14:39:20 +01:00