Daniel Hahler
378b04eeaa
Fix handling of ALLOWED_VERSIONS and no DEFAULT_VERSION ( #4370 )
...
When only `ALLOWED_VERSIONS` but no `DEFAULT_VERSION` is specified, a
version should be enforced.
2016-08-10 15:19:56 +01:00
Tom Christie
febaa4db00
Add import in docs. [ci skip]
2016-08-08 09:28:15 +01:00
Marlon
672e5a0f96
Fix minor typo
2016-08-05 11:57:43 -07:00
Tom Christie
bb613c5ad1
Version 3.4.3 ( #4361 )
...
* Version 3.4.3
2016-08-05 13:33:25 +01:00
Tom Christie
35320b1f2d
Add bullet points to release notes [ci skip]
2016-08-05 12:41:15 +01:00
Tom Christie
f9cf22edc8
Version 3.4.2 ( #4360 )
2016-08-05 12:38:19 +01:00
Corentin Smith
54096dc22f
Add imports in validators docs ( #4355 )
2016-08-04 22:06:35 +01:00
Tom Christie
e37619f741
Serializer defaults should not be included in partial updates. ( #4346 )
...
Serializer default values should not be included in partial updates
2016-08-02 13:05:12 +01:00
Jaap Roes
5b071ab35e
Remove note about Django 1.3 ( #4334 )
...
Remove note about Django 1.3
2016-08-01 12:05:47 +01:00
Tom Christie
48a2f084aa
Minor docs tweak [ci skip]
2016-07-28 13:38:05 +01:00
Tom Christie
449ec1d724
Version 3.4.1 [ci skip] ( #4326 )
2016-07-28 13:34:35 +01:00
Tom Christie
e407dc7f01
Added root_renderers argument ( #4323 )
2016-07-28 12:50:51 +01:00
Tom Christie
306726d9e8
Improve datetime format docs ( #4322 )
2016-07-28 12:25:21 +01:00
Tom Christie
061e0ed084
Added url and schema_url arguments ( #4321 )
2016-07-28 12:08:34 +01:00
Tom Christie
351e0a4a99
Fix json indent parameter. Closes #4281 ( #4313 )
2016-07-27 11:49:01 +01:00
Tom Christie
19b415ec25
Improve pagination docs. Refs #4304 [ci skip]
2016-07-26 16:45:27 +01:00
Gustavo Pantuza
da2ff1bc4a
Adding support for RFC 4918 status codes ( #4291 )
...
* Added HTTP status codes from RFC 4918
* Updated documentation about status codes
* Added reference to RFC 4918
2016-07-26 11:09:12 +01:00
Hendra
48465a667a
Remove outdated resources ( #4295 )
...
Removed links to Youtube videos that are no longer available and updated a link to a tutorial that has moved.
2016-07-26 11:03:05 +01:00
Osvaldo Santana Neto
02a81d3362
Fix SwaggerRenderer implementation example
2016-07-19 14:15:49 -03:00
Marc Gibbons
d80b0eaead
Update schema generator example ( #4267 )
...
1. The returns from the views needs to be a Response
2. I found that instantiating the generator at the module level caused an import error when starting Django, likely because it is executing before all the app load magic happened. Moving it into the view method solved this.
2016-07-18 16:04:23 +01:00
Xavier Ordoquy
bea243a0ca
Fix coreapi param arguments. ( #4274 )
2016-07-18 15:56:36 +01:00
Germán Larraín
1a65f72f71
docs.settings: fix name of VERSION_PARAM
2016-07-15 14:34:27 -04:00
anoopmalav
faf6f226cd
Fix Typo in index.md
...
Currently generating invalid URL at index page.
http://www.django-rest-framework.org/'api-guide/schemas.md '
Though it is correct in navigation.
2016-07-14 22:57:38 +05:30
Tom Christie
a9218e460f
Minor tutorial updates
2016-07-14 12:44:13 +01:00
Tom Christie
aa40c58381
Note 'coreapi dump' command
2016-07-14 12:33:54 +01:00
Tom Christie
28820449f0
Merge branch 'master' of github.com:tomchristie/django-rest-framework
2016-07-14 12:29:46 +01:00
Tom Christie
5dd3d1b5d9
Update coreapi version in docs
2016-07-14 12:29:37 +01:00
Rashid Al Abri
df33035a3c
Change incorrect example URL ( #4261 )
...
Changed http://example.com/api/items/4/.json to http://example.com/api/items/4.json
2016-07-14 12:28:28 +01:00
Tom Christie
06751f8548
Minor docs tweaks
2016-07-13 16:59:15 +01:00
Tom Christie
6f8a0f2a68
Update release docs
2016-07-13 16:46:50 +01:00
Tom Christie
e107c1dc35
Resize sponsor images
2016-07-13 16:33:27 +01:00
Tom Christie
8385ae42c0
3.4.0 Release ( #4258 )
...
* 3.4.0 Release
* Version 3.4 release
* Full release notes
* Update translation files
* Update release documentation
* Update release notes
* Docs on supporting alternate schema formats
* Add schema_renderers to DefaultRouter
2016-07-13 16:30:41 +01:00
Mads Jensen
6defb8da47
lookup_type is deprecated in favor of lookup_expr ( #4259 )
...
* lookup_type is deprecated in favor of lookup_expr
* assertEquals is deprecated in favor of assertEqual
* app_name is a required keyword as of Django 1.10
2016-07-13 14:40:42 +01:00
Tom Christie
f319e073e8
Client docs
2016-07-11 11:54:53 +01:00
Tom Christie
c21994e778
Merge branch 'master' of github.com:tomchristie/django-rest-framework
2016-07-08 16:38:47 +01:00
Tom Christie
c56d6d6bd3
Docs tweaks
2016-07-08 16:38:38 +01:00
Kenneth Schnall
ff5cfe3e84
Replace "class based views" occurrences with "class-based views" ( #4251 )
2016-07-08 08:38:50 +01:00
Tom Christie
7c171dfd83
Add tutorial 7 to homepage [ci skip]
2016-07-07 09:55:26 +01:00
Tom Christie
4a07d31d70
Add stream to premium backers [ci skip] ( #4249 )
2016-07-07 09:34:01 +01:00
kiyoqoko
6338ce80ab
Add localize keyword argument to DecimalField
( #4233 )
...
Add `localize` keyword argument for DecimalField
2016-07-06 16:07:16 +01:00
Tom Christie
b10de37476
Funding text tweaks [ci skip] ( #4247 )
2016-07-05 15:58:36 +01:00
Tom Christie
6ff9840bde
Schemas & client libraries. ( #4179 )
...
* Added schema generation support.
* New tutorial section.
* API guide on schema generation.
* Topic guide on API clients.
2016-07-04 16:38:17 +01:00
decore
1037a2742e
Update pagination.md
2016-06-28 10:15:42 +08:00
Ken Lewerentz
57122f0422
Added missing colon in extra_kwargs documentation
2016-06-25 22:05:28 +07:00
Tom Christie
3a7bfdfa70
Add sentry as a premium sponsor [skip ci] ( #4221 )
...
Add Sentry as a premium sponsor.
2016-06-24 11:05:19 +01:00
Ankush Thakur
879652ec2e
Update 2-requests-and-responses.md ( #4209 )
...
Make the usage of httpie accept headers more explicit.
2016-06-21 21:07:55 +01:00
Kenneth Love
498ce85f34
Update third-party-resources.md ( #4200 )
2016-06-15 21:17:16 +01:00
Tom Christie
c3b7fba918
Exclude read_only=True fields from unique_together validation & add docs. ( #4192 )
...
* Exclude read_only=True fields from unique_together validation
* Test to ensure that unique_together validators can be removed
* Do not add uniquness_extra_kwargs when validators are explicitly declared.
* Add docs on validation in complex cases
2016-06-13 13:31:12 +01:00
Tom Christie
b1035b2a87
Minor docs tweaks. [ci skip] ( #4174 )
2016-06-06 12:03:37 +01:00
Tom Christie
2712d4e5fe
Note on obtain_auth_token and throttles/permissions. Closes #4128 . [ci skip] ( #4173 )
2016-06-06 11:03:56 +01:00
Tom Christie
d404597e0b
Update FileUploadParser docs. Closes #4167 . [ci skip] ( #4169 )
2016-06-03 09:37:09 +01:00
Tom Christie
75751cc64e
Allow relative style hyperlinked URLs
2016-06-02 15:03:17 +01:00
Tom Christie
53a356a380
Fix docs link [ci skip] ( #4165 )
2016-06-02 10:35:18 +01:00
sohopro
20e3a9a006
Update filtering.md
2016-06-02 16:12:35 +09:00
Adam Chainz
e3337ab4aa
Convert readthedocs link for their .org -> .io migration for hosted projects
...
As per [their blog post of the 27th April](https://blog.readthedocs.com/securing-subdomains/ ) ‘Securing subdomains’:
> Starting today, Read the Docs will start hosting projects from subdomains on the domain readthedocs.io, instead of on readthedocs.org. This change addresses some security concerns around site cookies while hosting user generated data on the same domain as our dashboard.
Test Plan: Manually visited all the links I’ve modified.
2016-05-29 23:26:56 +01:00
Tom Christie
8e082770b0
Premium sponsor link
2016-05-28 10:55:38 +01:00
Tom Christie
9895de990d
Fix signup URLs
2016-05-28 10:23:59 +01:00
Tom Christie
3a173547ad
Funding announcement ( #4147 )
2016-05-26 11:48:15 +01:00
Carlton Gibson
9d87dbc016
Remove Py2/Py3 difference from Example ( #4145 )
...
`print` is available as a function on every supported version of Python (2.7+)
2016-05-25 14:38:44 +01:00
Tom Christie
9b56dda918
Update requests.md
...
Drop out-of-date paragraph on `request.content`
2016-05-18 08:38:18 +01:00
Joe Simpson
5cf7d4a90d
Add LaTeX renderer to documentation ( #4131 )
2016-05-17 12:09:25 +01:00
Petros Moisiadis
788603e153
Document allow_empty argument ( #4117 )
...
ListSerializer fields or serializers that are passed many=True may also take an allow_empty=False argument to disallow empty lists as valid input.
Information about this was part of the 3.2 release announcement, but had not been part of the API docs until now.
2016-05-13 15:55:31 +01:00
Graham R. Jeffries
dbbf79be64
minor docs indentation fix ( #4101 )
...
Fixes a minor indentation typo.
2016-05-06 11:58:58 +01:00
Miro Hrončok
ffdac0d936
TokenAuthentication: Allow custom keyword in the header ( #4097 )
...
This allows subclassing TokenAuthentication and setting custom keyword,
thus allowing the Authorization header to be for example:
Bearer 956e252a-513c-48c5-92dd-bfddc364e812
It doesn't change the behavior of TokenAuthentication itself,
it simply allows to reuse the logic of TokenAuthentication without
the need of copy pasting the class and changing one hardcoded string.
Related: #4080
2016-05-04 10:53:34 +01:00
Taylor Edmiston
c355cdc585
Fix typo in permissions docs
2016-05-03 14:20:45 -04:00
Kyle Hornberg
399e1c1dcf
Typo fix ( #4094 )
2016-05-03 15:53:55 +01:00
Xavier Ordoquy
a9bbb502cb
Remove references to South as we don't need it any longer. ( #4085 )
...
* Remove references to South as we don't need it any longer.
* Add a note about auth_token including Django migrations.
2016-04-29 14:16:03 +01:00
Xavier Ordoquy
1823662e1e
Merge pull request #4044 from linovia/merge/3.3.x_to_master
...
Merge the changes in 3.3.x back to master.
2016-04-21 11:31:15 +02:00
Xavier Ordoquy
bff3bebdbe
Merge remote-tracking branch 'reference/stable/3.3.x' into merge_test
...
# Conflicts:
# docs/topics/release-notes.md
2016-04-08 15:46:17 +02:00
Xavier Ordoquy
95418eb8ac
Add the medium collection related to Django REST framework. ( #4043 )
2016-04-08 14:43:10 +01:00
Raphael Gyory
b870101581
Update third-party-resources.md
2016-04-06 17:00:26 +02:00
Raphael Gyory
f1a384b61b
Add Django Rest Messaging in Third party packages
2016-04-06 16:58:15 +02:00
Anthony Lukach
3fdd6e1db5
Add .partial_update to ModelViewSet documentation
...
The ModelViewSet inherits from the UpdateModelMixin, which provides the `.partial_update` method. This should be reflected in the documentation.
2016-03-29 10:50:12 -06:00
Tom Viner
3e5a1397d7
remove trailing slash from cramer cursor link
2016-03-24 20:37:38 +00:00
S. Andrew Sheppard
101c178b8c
links to html-json-forms package
2016-03-24 11:55:19 -05:00
Xavier Ordoquy
0e8306341d
Merge pull request #3936 from carltongibson/null-uuid-fk-take2
...
Fix None UUID ForeignKey serialization
2016-03-22 22:46:33 +01:00
Stephan Groß
0056703fe8
Fix code sample indention
2016-03-21 10:23:34 +00:00
Stephan Groß
3785281d4c
Add missing paginator in docs
2016-03-21 10:07:47 +00:00
Stephan Groß
91e869750e
Fix typo
2016-03-21 08:57:43 +00:00
Xavier Ordoquy
f0fc339278
Release date update.
2016-03-14 08:40:00 +01:00
aleontiev
3a3fd66852
documentation: add a reference to the dynamic-rest addons under the serializers guide
2016-03-11 12:43:17 -05:00
Xavier Ordoquy
c91229aaab
PAGINATE_BY_PARAM and MAX_PAGINATE_BY removed in 3.3
2016-03-08 06:41:08 +01:00
Xavier Ordoquy
c90cf828ae
PAGE_SIZE addition in 3.1
2016-03-08 06:40:33 +01:00
Xavier Ordoquy
180137300f
PAGINATE_BY removed in 3.3
2016-03-08 06:39:58 +01:00
Xavier Ordoquy
a0aac166bc
DEFAULT_PAGINATION_SERIALIZER_CLASS removed in 3.1
2016-03-08 06:39:08 +01:00
Xavier Ordoquy
9208619362
Those are now fully removed.
2016-03-08 06:38:03 +01:00
Xavier Ordoquy
cac1ecb250
paginate_by removed in 3.3
2016-03-08 06:37:46 +01:00
Krzysztof Szularz
cfd681dc73
Add /en
to Heroku guidelines link
2016-03-07 21:01:04 +01:00
ildoc
2e2abbc811
updated tutorial for django 1.9
2016-03-07 20:59:58 +01:00
meoooh
0a2a01d05a
fix typo
...
fix typo
2016-03-07 20:58:47 +01:00
Wes
0e1dcb7323
fix typo
2016-03-07 20:58:24 +01:00
Kin
b572cdb068
fix typo
2016-03-07 20:58:12 +01:00
Xavier Ordoquy
6ea9a41408
Add #3962 in the last minute fixes.
2016-03-07 20:39:34 +01:00
Xavier Ordoquy
173c2f1e53
Release date update.
2016-03-07 20:22:47 +01:00
Luke Murphy
ef8e7f168f
add rest-framework-generic-relations link to docs
2016-03-07 19:37:30 +01:00
José Padilla
b3582cd36b
Merge pull request #3973 from lwm/docs-generic-relations
...
add rest-framework-generic-relations link to docs
2016-03-01 13:54:44 -04:00
Luke Murphy
66e86dc483
add rest-framework-generic-relations link to docs
2016-03-01 18:44:17 +01:00
Krzysztof Szularz
2ddd30be90
Add /en
to Heroku guidelines link
2016-03-01 14:52:07 +01:00
Xavier Ordoquy
97cc83483f
Merge remote-tracking branch 'reference/stable/3.3.x' into stable/3.3.3
2016-03-01 10:39:34 +01:00
Xavier Ordoquy
0324429107
Add #3968 to the release notes.
2016-03-01 10:39:13 +01:00
Rex Kerr
f3b4cb5951
Fixes incorrect references to URLPathVersioning
2016-03-01 10:36:05 +01:00
Liping Wang
239815887d
remove comma
...
remove comma
2016-03-01 10:35:41 +01:00
Liping Wang
05204333a5
[FIX] "@api_view" calling error.
...
"@api_view" usage error.
2016-03-01 10:35:41 +01:00
Liping Wang
c3cea1499f
remove comma
...
remove comma
2016-03-01 15:46:20 +08:00
Liping Wang
d372ccca02
[FIX] "@api_view" calling error.
...
"@api_view" usage error.
2016-02-29 19:51:33 +08:00
Rex Kerr
88320b8a61
Fixes incorrect references to URLPathVersioning
2016-02-27 12:41:56 -08:00
Xavier Ordoquy
24a2ec0501
Merge remote-tracking branch 'reference/stable/3.3.x' into stable/3.3.3
2016-02-27 00:36:23 +01:00
Taranjeet
a609e4e1ca
Docs: Fix repetitive word in the tutorial
2016-02-27 00:28:15 +01:00
Luke Murphy
c03c6c6e78
fix typo in relations docs
2016-02-27 00:27:41 +01:00
Tom Christie
a15e46af88
Merge pull request #3965 from ildoc/master
...
updated tutorial for django 1.9
2016-02-25 21:37:27 +00:00
Taranjeet
3fd6db1445
Docs: Fix repetitive word in the tutorial
2016-02-26 00:02:45 +05:30
ildoc
35036aee15
updated tutorial for django 1.9
2016-02-25 14:27:57 +01:00
Luke Murphy
f3c5802872
fix typo in relations docs
2016-02-24 14:22:24 +01:00
José Padilla
0b6f53eb98
Merge pull request #3943 from erickwilder/3937-accept-callable-as-initial-value
...
Closes #3937 . Support callable as the value of `initial` for any `serializer.Field`
2016-02-19 10:41:23 -04:00
Erick Wilder
a32baeab0c
Use datetime example for the Field.initial
attribute
...
Just like regular Django fields, the example adopted uses a `datetiume.date.today` to
illustrate the functionality.
2016-02-19 09:53:50 +01:00
meoooh
5cda3a04dd
fix typo
...
fix typo
2016-02-18 14:43:41 +09:00
José Padilla
bec5f3db83
Merge pull request #3941 from wesgt/master
...
fix typo
2016-02-17 07:11:36 -04:00
Erick Wilder
908efd6656
#3937 Update docs for the Field.initial attribute.
...
Add an usage example on how to pass a callable to the `Field.initial` in the docs.
2016-02-17 11:01:09 +01:00
Wes
b773f03bd0
fix typo
2016-02-17 16:35:53 +08:00
Kin
96644bd6c1
fix typo
2016-02-16 23:08:45 -08:00
Carlton Gibson
20d1fdba69
Fix None UUID ForeignKey serialization
2016-02-16 09:29:48 +01:00
Carlton Gibson
296c567645
Drop EOL Django 1.7
2016-02-15 16:07:42 +01:00
Xavier Ordoquy
c8ca3a1c05
Release notes for 3.3.3
2016-02-11 07:14:45 +01:00
Christian Berendt
ff4d7c7e07
Use 'password123' as password for new users in the tutorial
...
Trying to create a new user on Django 1.9.x with the password 'password'
will fail with the error message 'This password is too common.'. Because
of that it is necessary to change the used password from 'password' to
'password123'.
2016-02-04 07:26:15 +01:00
Chirag Khatri
62551bc80f
typo in tutorial part 1
2016-02-03 15:25:31 +05:30
Xavier Ordoquy
d738ad7ae6
Update to serialization results ( closes #3881 ).
2016-01-27 22:23:20 +01:00
James Beith
34901a5ffa
Fix syntax errors in docs example
...
- Add missing comma in kwargs
- Remove spaces around keyword / parameter equals
- Replace incorrect curly brace with parenthesis
2016-01-24 13:33:18 +00:00
Emmanouil Konstantinidis
ee2861887e
Mention DRF Docs - Live API Endpoints
2016-01-23 23:08:19 +00:00
José Padilla
99a61d72a7
Fix broken link format
2016-01-20 14:04:04 -04:00
Xavier Ordoquy
f1b28b4d63
Merge pull request #3605 from ryanhiebert/slug-related-field-queryset
...
RelatedField get_queryset and context
2016-01-20 18:17:29 +01:00
Krzysztof Szularz
2d40be5bd8
Update link to Heroku guidelines
...
They seem to have changed the structure of the document.
2016-01-20 16:28:30 +01:00
Xavier Ordoquy
221d6979c6
Fix the request data source.
2016-01-18 18:54:00 +01:00
Xavier Ordoquy
0051492963
Merge remote-tracking branch 'shvechikov/master' into feature/3776
2016-01-18 18:51:53 +01:00
Xavier Ordoquy
6f8e0c3c07
Merge pull request #3289 from koliber/update-docs-serilaizers-multi-update
...
Added explicit id field in multi update example
2016-01-18 18:44:03 +01:00
Ramon Moraes
a37a8748cc
Update permissions.md
...
Adding additional note about the behavior of set permission classes per view as suggest on #3834
2016-01-15 11:44:25 -03:00
Nicolas Delaby
717e27c866
Document how to tweak authtoken.admin.TokenAdmin
...
With focus on large user base, but can be extended.
2016-01-14 14:59:31 +01:00
Tom Christie
1c5dfc9c8d
Merge pull request #3821 from zwernberg/master
...
update copyright 2016
2016-01-11 16:25:11 +00:00
Zach Wernberg
04b2f021a6
update copyright 2016
2016-01-11 08:13:07 -06:00
Jerel Unruh
f71d8afdb0
Added documentation for the Third Party jsonapi.org package
2016-01-07 13:42:02 -06:00
m1kola
5fa8a31855
Typo fix in docs/api-guide/relations.md
...
`slug field` in code snippet was replaced to `slug_field`
2016-01-06 17:58:45 +03:00
craigglennie
2d7d3b79a0
Make code block consistent in serialization tutorial
...
All the other code blocks in the Serialization tutorial can be copied and pasted, but there is one that includes the >>> shell prompt characters. This commit removes those characters, and also makes the output consistent with other code blocks by making it a comment.
2016-01-02 13:15:25 -08:00
Luis San Pablo
183f8fad44
Class formatting
2015-12-31 21:18:41 -06:00
Luis San Pablo
ef491685a0
Initial fixes #3636 and fixes #3637
2015-12-31 21:14:57 -06:00
Leonid Shvechikov
ff0292a757
Fix update model example in html-and-forms.md
2015-12-27 17:14:33 +03:00
Robert Romano
c8915c0716
Change tab to spaces
2015-12-23 12:58:14 -08:00
Robert Romano
5fc938cbd1
The Internet Engineering Task Force approved the new HTTP status code 451. Adding to status.py and docs appropriately.
2015-12-23 12:54:17 -08:00
Emmanouil Konstantinidis
1925ec7d33
Both are highly recommended
2015-12-21 13:59:05 +00:00
Emmanouil Konstantinidis
4204557bc5
Remove title and hr
2015-12-21 13:55:11 +00:00
Emmanouil Konstantinidis
958290724c
Rest is "REST"
2015-12-21 13:47:04 +00:00
Emmanouil Konstantinidis
a83cb1d2f3
Minor changes
2015-12-21 13:45:11 +00:00
Emmanouil Konstantinidis
1aedaafba4
Add DRF docs to the list
2015-12-21 13:40:23 +00:00
Atul Varma
66de876dee
Update bootstrap version in browsable-api.md
2015-12-19 10:34:39 -05:00
Peter Baehr
44ae037e81
Move urls.py changes down and add necessary import
...
The previous location of editting urls.py did not allow migrations to be created and the default import needs to be modified
2015-12-15 21:17:52 -05:00
Tyrel Souza
8c0d736f23
Also fix usecases to use cases
2015-12-15 10:28:23 -05:00
Tyrel Souza
ffc10edd7e
Fix minor typo on Pagination documentation
2015-12-15 10:24:49 -05:00
Xavier Ordoquy
5224feded4
Update the release date.
2015-12-14 07:32:50 +01:00
Xavier Ordoquy
bf18c9f6e3
3.3.2 release notes.
2015-12-14 07:22:30 +01:00
Xavier Ordoquy
dcaff71217
Merge pull request #3728 from karthik-suresh/Fixes-Issue3727
...
Import parser added to docs in API guide
2015-12-12 22:19:13 +01:00
Karthik Suresh
82973cfa32
Import parser added to docs in API guide
...
Added missing import statements in code snippet of API guide.
Closes-Issue: #3727
2015-12-12 21:59:08 +05:30
knbk
e203967e09
Add app_name to rest_framework.urls.
...
This allows users in Django 1.9+ to include the authentication urls
without specifying the namespace, as in:
urlpatterns = [
...
url(r'^auth/', include('rest_framework.urls'))
]
2015-12-08 02:25:00 +01:00
Kirill Zaborsky
85db6a681b
Fixed versioning regexp
...
booking list regexp was fixed in 8b97bb8f68
but single booking wasn't for some reason, and `v1v2/bookings/123/` shouldn't be allowed here
2015-12-07 10:59:57 +03:00
Tom Christie
832d6322a7
Merge pull request #3631 from syphar/paginat
...
allow setting a custom Django Paginator class
2015-11-30 20:58:32 +00:00
Tom Christie
bd8098e31f
Fix template typo.
...
Closes #3682 .
Thanks for the report!
2015-11-30 17:21:41 +00:00
Nik Nyby
e3f62e230c
Add missing link to django-crispy-forms
2015-11-30 10:48:56 -05:00
Prashant Tiwari
8b97bb8f68
Fix for Incorrect regex in URLPathVersioning documentation #3638
2015-11-26 06:23:59 +00:00
Xavier Ordoquy
d0352ae6fc
Merge pull request #3621 from linovia/feature/how_to_turn_pagination_off
...
Document how to turn pagination off
2015-11-25 12:57:25 +01:00
Daniel Hahler
e786e4c4a1
doc: clarify that crispy-forms needs to be in INSTALLED_APPS
2015-11-23 15:05:38 +01:00
Xavier Ordoquy
f3de2146ea
Merge pull request #3650 from silviogutierrez/master
...
Documentation fix for list serializers.
2015-11-19 07:46:01 +01:00
Silvio J. Gutierrez
ece7973479
Updated comment.
2015-11-18 21:52:20 -05:00
Xavier Ordoquy
edc5a79b85
Merge pull request #3497 from Ins1ne/feature/3340
...
update docs about detail page link for AdminRenderer
2015-11-18 17:38:07 +01:00
Silvio J. Gutierrez
f7646627f1
Documentation fix for list serializers.
2015-11-17 19:09:49 -05:00
Will Dady
ca0841576f
Removing references to get_paginate_by() as it no longer exists.
2015-11-17 15:00:00 +11:00
Denis Cornehl
3806af3d15
allow setting a custom Django Paginator in pagination.PageNumberPagination
2015-11-13 16:04:12 +01:00
Xavier Ordoquy
23460bfa41
Add a note about how to turn pagination off
2015-11-10 11:33:54 +01:00
Ryan Hiebert
f2452936e9
Allow no queryset when get_queryset overridden
...
The user may wish to provide a dynamic queryset on a `RelatedField`
based on the `context`. The way to do that is to create a subclass of
`RelatedField` (or a child) and override the `get_queryset` method.
However, this is undocumented, and instantiating that field without a
`queryset` argument (because it's not needed) will raise an assertion
error.
Document `.get_queryset(self)` as an official part of the API of
`RelatedField`, and don't enforce the use of `queryset` when
`get_queryset` is overridden.
2015-11-05 17:34:02 -06:00
Vedran Karačić
ede15645e0
Typo
2015-11-05 11:51:29 +01:00
Tom Christie
d959c6337a
Release notes
2015-11-04 14:59:09 +00:00
Tom Christie
bfdf795843
Merge pull request #3592 from tomchristie/request-parsing-when-post-accessed
...
Request parsing when .POST accessed
2015-11-04 14:17:55 +00:00
Ryan Hiebert
b86e5af878
reverse needs kwargs keyword
...
Since we aren't passing in any args, we must specify kwargs as a keyword
argument.
2015-11-03 21:45:21 -06:00
Travis J Morton
03cb959416
typo
2015-11-02 12:58:21 -08:00
David Szotten
9a14613f41
fix image paths
2015-11-02 15:28:02 +00:00
James Beith
0143586541
Adds import for Response
2015-10-29 15:48:45 +00:00
Matthew Hardwick
86e1d2a1e5
Actually add the link.
2015-10-29 10:43:57 -04:00
Matthew Hardwick
f7289e6392
Added django-rest-framework-version-transforms.
2015-10-29 10:37:46 -04:00
Josep Cugat
5b7de4f537
Fix announcement link typo
2015-10-29 10:21:46 +01:00
Tom Christie
bb555e6e5e
Version 3.3.0
2015-10-28 11:32:15 +00:00
Tom Christie
144cff97fa
Include billing addresses in funding sign ups
2015-10-28 11:20:35 +00:00
Tom Christie
eeff5a1709
Merge branch 'master' into funding
2015-10-23 16:27:30 +01:00
Tom Christie
b2fb0deb34
Add latest item to the release notes
2015-10-23 16:15:44 +01:00
Tom Christie
0fb1ebcfcf
Remove unused import
2015-10-23 16:07:48 +01:00
Tom Christie
ff285cfe66
TODO placeholder in release announcement
2015-10-22 15:15:55 +01:00
Tom Christie
7bfc420dc9
Add release notes, drop deprecated test
2015-10-22 15:11:10 +01:00
Tom Christie
4e7cc68ec9
Link tweaks
2015-10-22 14:42:35 +01:00
Tom Christie
ae852b2be4
Tweak links
2015-10-22 14:08:19 +01:00
Tom Christie
cf33008571
Release notes etc
2015-10-22 14:05:52 +01:00
Tom Christie
c53c9eddfe
Merge pull request #3315 from tomchristie/filters
...
First pass at HTML rendering for filters
2015-10-22 11:42:35 +01:00
Tom Christie
0c6d46729c
Docs on the filter HTML interface
2015-10-22 11:37:27 +01:00
Tom Christie
6305ae8916
Merge pull request #3475 from tomchristie/forms-api
...
Forms API
2015-10-22 09:59:57 +01:00
Peter Demin
423e0de358
Fixed grammar in docs for "Writable nested serializers"
2015-10-21 09:33:34 -04:00
potpath
9634cea474
Fix broken link caused by case sensitivity
2015-10-21 18:43:07 +07:00
Tom Christie
0d1637d666
Minor docs update
2015-10-20 10:49:39 +01:00
agconti
6757da5aab
docs(third-party-resources): added cookiecutter-django-rest to misc third party resources
2015-10-18 20:13:09 -04:00
Pierre Dulac
dc72fb4746
Missing the source=
keyword for the URLField parameter
2015-10-16 19:43:00 +02:00
Zack Tanner
6fe021eea7
Various typo fixes
2015-10-14 19:09:11 -07:00
Aider Ibragimov
4a6d27ccbb
update style of the note
2015-10-14 17:04:47 +03:00
Aider Ibragimov
5342f22009
return typo back for new pr, update docs
2015-10-14 15:54:43 +03:00
Aider Ibragimov
b19865f88d
fix typo in adding jquery string, update docs about detail page link for AdminRenderer
2015-10-14 15:14:35 +03:00
Tom Christie
90247afe29
Docs on Forms API
2015-10-12 21:14:58 +01:00
demokrates
47c9d2a4d3
Update versioning.md
...
Changed settings attribute 'VERSION_PARAMETER' --> to 'VERSION_PARAM'.
2015-10-12 10:10:08 +02:00
Tom Christie
41182c6f06
Formns API
2015-10-06 10:58:20 +01:00
Philip Garnero
3cdd3c5f6e
Added django-rest-framework-social-oauth2 to list of third party packages
2015-10-02 14:30:27 -07:00
Andrew
f60c0e99f6
Small doc typo throttles
--> throttling
2015-10-01 14:25:04 +07:00
Rolf Håvard Blindheim
0e56b2ea74
Added drf-haystack to third party resources
2015-09-30 10:24:21 +02:00
Tom Christie
265ec8ac62
Handle binary or unicode with JSONField
2015-09-28 17:47:51 +01:00
Tom Christie
10dbf1316f
Added JSONField. Closes #3170 .
2015-09-28 17:25:52 +01:00
Tom Christie
bae47b7f36
Merge pull request #3453 from tomchristie/remove-content-overriding
...
Remove content overriding
2015-09-28 16:42:42 +01:00
Tom Christie
ed677f0138
Update docs for content overriding
2015-09-28 16:37:48 +01:00
Tom Christie
c64896c849
More cleanup of browser overrides
2015-09-28 15:33:55 +01:00
Tom Christie
02e1f69d2b
Django 1.9 support
2015-09-28 11:44:07 +01:00
Tom Christie
2d0b54e263
Merge branch 'drop-django-16' oft https://github.com/carltongibson/django-rest-framework into carltongibson-drop-django-16
...
Conflicts:
docs/topics/release-notes.md
2015-09-28 11:17:48 +01:00
Tom Christie
ca8313aeac
Merge branch 'master' into version-3.3
...
Conflicts:
docs/topics/release-notes.md
2015-09-28 10:57:14 +01:00
Carlton Gibson
8d740a11e4
Adjust README and Release Notes
2015-09-22 16:39:25 +02:00
Carlton Gibson
2aa33ed544
Adjust README and Release Notes
2015-09-21 20:23:39 +02:00
Xavier Ordoquy
6ee3e29460
Add #3415 to the 3.2.4 release
2015-09-21 13:28:59 +02:00
Xavier Ordoquy
1054ea559c
Fix the issue link.
2015-09-21 13:28:37 +02:00
Xavier Ordoquy
26715c2dae
Merge remote-tracking branch 'origin/master' into release/3.2.4
2015-09-21 13:25:49 +02:00
Xavier Ordoquy
d85e7b9ccc
Update Release notes for 3.2.4.
2015-09-20 22:03:52 +02:00
Yiyo
7df11078ee
Improved Serializer relations docs
2015-09-17 10:30:22 -05:00
Tom Christie
a3067bea55
Merge branch 'master' into version-3.3
2015-09-17 16:24:46 +01:00
James McMahon
6baca94830
added knox package reference to 3rd party auth apps
2015-09-14 19:34:07 +01:00
Tom Christie
b7d77d5bf2
Merge pull request #3396 from qqbuby/3395
...
fix issue #3395
2015-09-14 10:22:20 +01:00
qqbuby
1aa16caffe
append a space after the comment mark to remain consistent with the other parts of the tutorial
2015-09-13 20:24:22 +08:00
Nic Young
5c076e10bb
Add link to serpy serialization, fixes #3391
2015-09-12 23:04:18 -07:00
qqbuby
1a8f9d0a0f
fix issue #3395 to correct the output text at line 184in docs/tutorial/1-serialization.md
2015-09-12 01:36:40 +08:00
Tom Christie
a67eed1466
Merge branch 'master' of github.com:tomchristie/django-rest-framework
2015-09-11 13:06:18 +01:00
Tom Christie
ab296ced4e
Add link to django REST marshmallow
2015-09-11 13:06:09 +01:00
Nic Young
4704da9a1a
Add note about field level validation, fixes #3306
...
The documentation added warns the user that field level validation will
be skipped if the field is declared on the model with the parameter
`required=False`.
2015-09-10 22:55:55 -07:00
Xavier Ordoquy
cd4c389d1f
Merge pull request #3382 from outime/patch-1
...
Fixed typo in ScopedRateThrottle example views
2015-09-10 10:16:29 +02:00
Xavier Ordoquy
b6b33b567e
Merge pull request #3360 from lubomir/improve-docs-for-default
...
Improve documentation of default argument for fields
2015-09-10 10:15:17 +02:00
Rubén Díaz
671de792e2
Fixed typo in ScopedRateThrottle example views
2015-09-10 10:19:40 +03:00
potpath
bb95de13bf
Update 6-viewsets-and-routers.md
2015-09-04 16:07:20 +07:00
Tom Christie
7905e9f9f4
Docs tweak
2015-09-03 11:57:11 +01:00
Lubomír Sedlář
a57ad07674
Add link to validators
...
The `set_context` method there is the same as for the default field.
2015-09-03 10:35:28 +02:00
Lubomír Sedlář
1c049edd8c
Improve documentation of default argument for fields
...
The documentation now not only mentions that callables are acceptable
arguments, it also tells the reader what the callable should look like.
2015-09-03 09:46:54 +02:00
Britt Dawn
7c12a988fa
Replacing self.tag with self.tag_name in Generic Relationships documentation.
2015-09-02 09:25:00 -07:00
Miroslav Shubernetskiy
6926c71699
added django-url-filter to 3rd party libraries
2015-08-31 21:23:11 -04:00
José Padilla
9dd1b2516b
Update ModelSerializer fields docs
2015-08-28 09:51:11 -04:00
koliber
dae5426e20
Changed formatting and updated docs
2015-08-28 15:35:32 +02:00
Tom Christie
3a0d54c7fb
Fix testing example. Closes #3346
2015-08-28 13:52:18 +01:00
José Padilla
1fe8e9a0bf
Add note on deprecation path
2015-08-28 08:11:07 -04:00
José Padilla
f3ef13ab59
Update to match docs on ModelForm fields
2015-08-28 08:05:20 -04:00
Tom Christie
9aca6442a7
Add to the roadmap
2015-08-27 15:31:21 +01:00
Tom Christie
f646b469d4
Copy tweaks
2015-08-26 13:22:18 +01:00
Tom Christie
eb37f90dcd
Tweak buisiness case
2015-08-26 13:09:22 +01:00
Tom Christie
32946f4160
Tweaks to roadmap
2015-08-25 14:03:30 +01:00
Slava Shklyaev
49d799c454
Fix typo
2015-08-24 21:09:08 +03:00
Tom Christie
0198bce34f
Release 3.2.3
2015-08-24 10:59:52 +01:00
borzdyko
f0782b9451
Doc for regex search filter
2015-08-21 18:26:23 +03:00
Tom Christie
f4412d0827
Docs for select cutoffs
2015-08-21 10:52:44 +01:00
Tom Christie
1de197aa8d
Tweaks for funding page
2015-08-20 10:10:06 +01:00
Joe Simpson
a4af8cc623
Add import to example for filtering
...
`from rest_framework import filters` was missing from one of the examples
2015-08-19 14:44:40 +01:00
Tom Christie
c958d5d447
Redirect from www. to fund. when needed.
2015-08-19 12:35:23 +01:00
Tom Christie
0dc9f285be
Paid plans title -> Funding
2015-08-19 12:16:00 +01:00
koliber
2946251c91
Added explicit id field in multi update example
...
If the id field is implicitly created, it is created as `read_only=True`. This causes the data validation step to remove the id values in the validated data.
2015-08-18 14:47:04 +02:00
Tom Christie
b722b3b77a
Note on bus factor
2015-08-14 13:08:54 +01:00
Tom Christie
71505e675a
Flesh out the funding docs
2015-08-14 12:34:47 +01:00
Tom Christie
a0602104c3
Link to correct plans in sign up
2015-08-13 17:14:19 +01:00
Tom Christie
d80acd1f1f
Initial draft of funding page
2015-08-13 14:17:27 +01:00
Tom Christie
1b53e804ee
3.2.2 Release
2015-08-13 10:23:22 +01:00
ThaJay
76fedcc348
Update 2-requests-and-responses.md
...
just a small error, the trailing slash in the url should be omitted when adding a .suffix
2015-08-12 19:49:43 +02:00
Tom Christie
0df99a6c95
Fix erronous request.files docs, and incorrect request.FILES behavior. Closes #3261 .
2015-08-11 16:21:02 +01:00
Tom Christie
e0c93c1780
Tweaking display_value docs
2015-08-10 16:37:55 +01:00
James Beith
eaf61449a8
Explain use case for display_value
in docs
2015-08-10 13:02:07 +01:00
James Beith
66ae19229e
Add docs for display_value
2015-08-10 12:38:27 +01:00
Tom Christie
3ea394dbff
Version 3.2.1
2015-08-07 14:55:18 +01:00
Tom Christie
e88f28dbad
Call out supported versions. Closes #3232 .
2015-08-07 14:47:00 +01:00
Tymur Maryokhin
85e3edd7ff
Update README and docs with 3.2 release
2015-08-07 12:12:01 +02:00
Simon Charette
bcc0d54f98
Fixed a small typo in the 3.2 release announcement.
2015-08-06 16:56:39 -04:00
Tom Christie
e3aaa323b7
Add 3.2 announcement
2015-08-06 14:18:23 +01:00
Tom Christie
a428d76ada
Add 3.2 release notes
2015-08-06 13:18:18 +01:00
Tom Christie
9a778793f8
Adding imports to docs
2015-08-06 09:56:09 +01:00
wwj718
c099d9aac4
import permission_classes
...
many people don't know how to import permission_classes
2015-08-06 11:08:56 +08:00
Tom Christie
8d7c0a8474
Merge branch 'feature/filepathfield' of https://github.com/Ins1ne/django-rest-framework into Ins1ne-feature/filepathfield
2015-08-03 10:09:46 +01:00
Tom Christie
472784b70a
Docs for custom hyperlinked fields.
2015-08-03 09:27:03 +01:00
Ian Foote
ed55fbe862
Fix custom HyperlinkedRelatedField example
...
Fix `get_object` method signature to match [`HyperlinkedRelatedField.get_object`](https://github.com/tomchristie/django-rest-framework/blob/master/rest_framework/relations.py#L227-L236 ).
2015-07-31 12:59:50 +01:00
Tom Christie
aa3f844b3d
Merge pull request #3199 from tomchristie/remove-url-from-future
...
Remove 'load url from future' tags in templates.
2015-07-30 16:29:11 +01:00
David Kaplan
8d7627a079
Update third-party-resources.md
...
Add DRY Rest Framework reference onto the third party resources page.
2015-07-30 10:51:44 -04:00
David Kaplan
b969e9a872
Update permissions.md
...
Add DRY Rest Permissions info to the permissions page
2015-07-30 10:47:12 -04:00
Tom Christie
c8ad0cce19
Bump minimum Django version to 1.5
2015-07-30 15:43:39 +01:00
Tom Christie
1f55bc747b
Merge pull request #2926 from tomchristie/admin-style
...
Admin style renderer
2015-07-30 15:01:37 +01:00
Tom Christie
a4e0f03050
Tweak quickstart to show newest users first in list view
2015-07-30 14:18:09 +01:00
Tom Christie
5c1d6a9200
Docs for AdminRenderer
2015-07-30 14:07:51 +01:00
Tom Christie
75beb6ab2d
Note on ValidationError in perform_create. Closes #2791 .
2015-07-27 13:32:30 +01:00
Tom Christie
99d9afc9d0
Remove out-of-date note on footer block in browsable API template. Closes #3187 .
2015-07-27 09:18:41 +01:00
José Padilla
4f0220b780
Add missing link
2015-07-26 20:00:34 -04:00
Adrian Mester
d9c934debd
fixed a typo in docs
2015-07-23 13:10:20 +03:00
Tom Christie
762a30dbda
Merge branch 'master' of github.com:tomchristie/django-rest-framework
2015-07-22 12:36:43 +01:00
Tom Christie
f9c61e8090
Prominent notes on deprecation status of pagination settings. Closes #3173 .
2015-07-22 12:36:32 +01:00
José Padilla
7f7e6b33ff
Update quickstart.md
...
Closes #3171
2015-07-19 21:47:09 -04:00
Aider Ibragimov
d845157983
Merge branch 'master' of https://github.com/tomchristie/django-rest-framework into feature/filepathfield
2015-07-18 23:34:07 +03:00
Tom Christie
0ccb148183
Support QueryDict list arguments with ListField. Closes #3155 .
2015-07-16 15:59:15 +01:00
Tom Christie
c940f15901
Internal use warning against HTMLFormRenderer. Closes #2773 .
2015-07-16 15:50:51 +01:00
Leonardo Giordani
4f6eba3ce8
Removed import of unused django.forms.widgets
2015-07-16 16:25:01 +02:00
Tom Christie
0ea64f6b33
More docs on configuring a custom metadata class.
2015-07-16 10:19:27 +01:00
Tom Christie
8d306823b4
Update docs on ALLOWED_VERSIONS and DEFAULT_VERSION. Closes #2778 .
2015-07-14 15:03:33 +01:00
Tom Christie
3c57e08f62
Clarifications to read_only fields. Closes #3064 .
2015-07-14 12:22:51 +01:00
Tom Christie
586c3350d4
Writable Nested Serializer example in relationships docs. Closes #2924 .
2015-07-14 12:10:40 +01:00
Alexander Pitkin
6d4ae2c40f
Fixed type in docs
...
Fixed typo in Miscellaneous notes of 3.0 release announcement docs
2015-07-13 16:46:14 +03:00
Derek Pauley
387dfd5dc3
Update rest-hypermedia-hateoas.md
...
There was a typo under ## What REST framework doesn't provide.
Original: What REST framework doesn't do is give you is machine readable hypermedia formats such as [HAL][hal],
Fixed: What REST framework doesn't do is give you machine readable hypermedia formats such as [HAL][hal],
2015-07-11 13:23:57 -05:00
Yuri Hernani Heupa
c04c8808c6
Changed typo in Renderer docs
...
The BrowsableAPIRenderer was misspelled with an extra 'e' letter
2015-07-09 22:41:53 -03:00
Miroslav Shubernetskiy
3bb9e251d7
added django-rest-framework-braces in Misc list of 3rd party tools
2015-07-06 17:35:21 -04:00
José Padilla
f161241e07
Fix custom parser example
2015-07-05 16:48:33 -04:00
Matt Broach
b9e09e2f90
Added django-rest-multiple-models link to general Third Party resources page as well
2015-07-02 18:18:30 -04:00
Matt Broach
9e58bf6500
added link to Django Rest Multiple Models to Third Party Packages
2015-07-02 17:20:41 -04:00
Mark Skipper
b743818430
Remove unused import from docs example
2015-07-01 20:39:05 +01:00
Xavier Ordoquy
b6e46a6483
Update get_serializer
signature
...
- remove the `files` and `allow_add_remove` arguments that were part of the 2.x API.
2015-07-01 00:26:54 +02:00
Alasdair Nicol
061cc5a42b
Fixed #2900 -- Made example validator class in docs inherit from object
2015-06-30 16:33:01 +01:00
Tom Christie
632fc98f77
Fix link headers in examples, as per RFC5988.
2015-06-24 12:57:23 +01:00
Tom Christie
8329411cc3
Merge pull request #2539 from donewell/permission-detail
...
add message to custom permission
2015-06-24 11:32:02 +01:00
Tom Christie
e4b0273f76
Merge pull request #3063 from jpadilla/url-format-override
...
Document setting URL_FORMAT_OVERRIDE to None
2015-06-23 13:04:48 +01:00
José Padilla
83ef64dbf5
Document setting URL_FORMAT_OVERRIDE to None
...
This also hides the format dropdown from the
Browsable API if URL_FORMAT_OVERRIDE is disabled.
Closes #3057
2015-06-23 07:50:44 -04:00
José Padilla
9bdf9a510e
Remove Twitter button for mobile rendering
2015-06-23 07:17:12 -04:00
José Padilla
8554980c86
Add PyPI version badge to docs. Closes #3023
2015-06-23 06:22:35 -04:00
Xavier Ordoquy
8c5fc2a94b
Merge pull request #2732 from pquentin/patch-versioning
...
Document per-view versioning settings
2015-06-19 12:56:24 +02:00
Alexandre Cordeiro
deb2c9eb87
Fixed minor typo on viewsets.md
...
I'm not sure how the contribution policy for the docs is, but I thought it'd be faster to issue a pull request than reaching out to you guys/creating an issue for something so simple. Hope it's not a problem :)
2015-06-16 17:36:11 -03:00
José Padilla
0be6d87fac
Fix versioning urls
2015-06-15 16:51:37 -04:00
Xavier Ordoquy
be9327ad3a
Merge pull request #3025 from linovia/documentation
...
Replace the former `get_filter_backends` by `filter_queryset`.
2015-06-15 22:28:41 +02:00
Thomas Stephenson
a1e0bae9da
Custom serialization of PrimaryKeyRelatedField values
...
Adds a 'pk_field' parameter which can be used to proxy serialization and
deserialization of arbitrary primary key values.
2015-06-15 04:43:49 +10:00
Xavier Ordoquy
c80796ec04
Mention filter_queryset
as an alternative to former get_filter_backends
2015-06-10 23:32:52 +02:00
Nico Mandery
325789db95
set the filter_backends class variable in the DjangoFilterBackend documentation for clearness
2015-06-08 15:18:30 +02:00
malinich
4a2bad03c5
outdated method 'get_filter_backends' has been deleted from the documentation
2015-06-05 15:40:13 +03:00
Jared Petersen
2b2fbbd299
Update browsable-api.md
...
The Bootstrap Customizer has been discontinued and is no longer available (http://getbootstrap.com/2.3.2/customize.html ), so I removed the reference to it in the page.
2015-06-04 21:28:21 -07:00
Xavier Ordoquy
8935db1be9
Merge pull request #3003 from linovia/release/3.1.3
...
Release 3.1.3
2015-06-04 15:04:55 +01:00
Xavier Ordoquy
886220cb70
Last minute pull request
2015-06-04 14:56:00 +01:00
Xavier Ordoquy
757e45acee
Adding the last minute PR.
2015-06-04 14:37:01 +01:00
Xavier Ordoquy
dee5fb5647
Merge remote-tracking branch 'reference/master' into feature/ipaddress-fix
...
Conflicts:
docs/api-guide/fields.md
2015-06-04 14:21:33 +01:00
Xavier Ordoquy
bc778732bf
Release notes for 3.1.3
2015-06-03 17:27:38 +01:00
Xavier Ordoquy
0c66c7cfa6
Merge pull request #3000 from linovia/ovangle/uuid_format2
...
Add 'format' argument to UUIDField
2015-06-03 12:32:23 +01:00
Xavier Ordoquy
ea00fc7a85
Fix the UUID examples style.
2015-06-02 16:10:14 +01:00
Xavier Ordoquy
a61f865518
Add format examples.
2015-06-02 14:18:26 +01:00
Xavier Ordoquy
c82f6aa835
Merge remote-tracking branch 'origin/master' into documentation/include_translations_in_process
2015-06-02 13:49:24 +01:00
Xavier Ordoquy
e8e1908097
Remove the checked box and add a todo list during development cycle.
2015-06-02 13:01:17 +01:00
Xavier Ordoquy
6c1a285c83
Add the translations to the process.
2015-06-02 10:17:19 +01:00
Tom Christie
7f6fb3183f
Merge pull request #2994 from linovia/documentation/add_warning_about_login
...
Add a warning about totally custom login views.
2015-06-02 09:51:08 +01:00
Nicolas Delaby
3f3a01b4b8
fix Typo
2015-06-02 09:18:24 +02:00
Xavier Ordoquy
4ad8c17371
Add a warning about totally custom login views.
2015-06-01 18:13:40 +01:00
Nicolas Delaby
f701ecceb7
Add DurationField
2015-06-01 18:20:53 +02:00
Marc
9d624d5b6b
Update validators.md
...
Missing colon.
2015-05-29 16:57:13 +02:00
Arnaud Limbourg
5550f1534c
removing section since package is not maintained
2015-05-28 15:52:37 +02:00
Arnaud Limbourg
2bfef08d3a
THe DRF Any Permission is not maintained anymore
2015-05-28 15:12:18 +02:00
Anna Schneider
6553e253f3
Add drf-tracking to third-party-resources.md
2015-05-26 16:58:08 -07:00
Martin Di Palma
7449e29cf7
Links issues
...
The following items had a wrong href value:
- Dont require pk strictly for related fields. (#2745 , #2754 )
- Restrict integer field to integers and strings. (#2835 , #2836 )
2015-05-25 02:24:11 -03:00
André Ericson
e6e5a27836
Add Classy Django REST Framework(cdrf.co) to Third Party Resources
2015-05-22 17:18:59 -03:00
Xavier Ordoquy
6add1acc4e
Add a few cosmetic changes to the release notes.
2015-05-14 11:18:18 +02:00
Xavier Ordoquy
475e431055
Fix the broken links.
2015-05-14 11:15:26 +02:00
Xavier Ordoquy
1a8c0b4bfc
Merge pull request #2930 from linovia/release/3.1.2
...
Release 3.1.2
2015-05-14 10:57:33 +02:00
Xavier Ordoquy
47d36f150b
Add last minute PR.
2015-05-13 18:24:06 +02:00
Tom Christie
ea1145c5aa
Merge pull request #2905 from ticosax/django-object-perm-get_queryset
...
Allow DjangoObjectPermissions to use views that define get_queryset
2015-05-13 13:39:59 +01:00
Nicolas Delaby
031ac2a292
Allow DjangoObjectPermissions to use views that define get_queryset
2015-05-13 14:26:44 +02:00
Xavier Ordoquy
5c8df2c56b
Release notes for 3.1.2
2015-05-13 09:44:04 +02:00
Don Kirkby
0b8dd906cf
minor grammar fix
2015-05-08 15:28:30 -07:00
Jonathan Ellenberger
44317b4581
Adding django-versatileimagefield to DRF 3rd party docs
...
Closes WGBH/django-versatileimagefield#12
2015-05-07 14:23:24 -04:00
José Padilla
3a96164501
Merge pull request #2914 from trollknurr/master
...
Added link to djangorestframework-word-filter package
2015-05-06 12:11:04 -04:00
tony
b0b26d6b68
Added link to djangorestframework-word-filter package
2015-05-06 13:40:01 +03:00
S. Andrew Sheppard
e9b6b47872
update info about wq.db.rest router
2015-05-05 13:38:14 -05:00
Tom Christie
2e85b4ec3c
Merge pull request #2890 from radyz/fixed-doc-for-get-paginated-response-method
...
Document correct method usage for get_paginated_response
2015-05-05 09:15:28 +01:00
lowid
5c3c4802d3
Delete imported but not used method
...
In 'Generating Tokens' section, the example code imported get_user_model but not used.
2015-05-04 18:15:49 +08:00
Ernesto Chavez Sanchez
2b4dd739cc
Fixed description for get_paginated_response method in generic-views and example using it with @list_route decorator in viewsets.
2015-05-03 22:00:05 +00:00
Tymur Maryokhin
d19c3cc973
Remove deprecated model
attribute reference. Closes #2896 .
2015-05-01 20:32:52 +02:00
Ernesto Chavez Sanchez
0ffb0abe81
Document correct method usage for get_paginated_response in 3.x instead
...
of old get_pagination_serializer only valid in 2.x
2015-04-30 02:23:39 +00:00
José Padilla
2b6726e703
Merge pull request #2842 from frnc/patch-1
...
Update 5-relationships-and-hyperlinked-apis.md
2015-04-26 12:13:57 -04:00
Valentin Hăloiu
e148637d6d
Frontpage example no longer uses model attribute
2015-04-23 04:44:10 +03:00
zmmachar
237c2ebc26
Update renderers.md
...
jsonp renderer not in the yaml package
2015-04-21 18:09:55 -07:00
Cody Scott
cbf17a5ffe
Specifying module for CurrentUserDefault()
...
Prevents having to lookup the import
2015-04-20 19:14:58 -04:00
frnc
601cbf18d4
Update 5-relationships-and-hyperlinked-apis.md
...
Following [@jpadilla](https://github.com/jpadilla )'s suggestion in issue [#2837 ](https://github.com/tomchristie/django-rest-framework/issues/2837 ), I am proposing a little addition in "Creating an endpoint for the root of our API" section in order to make it clear that the `user-list` and `snippet-list` names will be declared later in `snippets/urls.py`. Missing this clarification might lead a beginner (like me) to think that the names are somehow assigned by rest_framework under the hood and to try the code too early, getting stuck in the following errors.
2015-04-20 17:56:04 +02:00
Teddy Wing
0f5082d9b8
docs/renderers: StaticHTMLRenderer
instead of TemplateHTMLRenderer
...
The `StaticHTMLRenderer` section referred to `TemplateHTMLRenderer`
instead of `StaticHTMLRenderer`.
2015-04-16 15:47:53 -04:00
José Padilla
3abbeadfaf
Django 1.8 is no longer in beta
2015-04-14 11:32:15 -04:00
Thomas Stephenson
236b731072
Add 'format' argument to UUIDField
...
To allow serializations to control the representation format of a
UUID value
2015-04-12 22:07:25 +10:00
Rob Hudson
e6308155dd
Update example of nested data
2015-04-08 21:38:02 -07:00
Paweł Stiasny
22e8357a4b
Update serializers documentation (removed feature)
...
It seems that allow_add_remove was removed from 3.x, yet the docs still mention it. Updating to avoid confusion.
2015-04-08 13:53:49 +02:00
Brett Koonce
d8a19f79ab
more sp fixes
2015-04-07 22:06:25 -07:00
Oleg Marshev
b0dd1fffbf
Fix typo.
2015-04-07 19:40:23 +03:00
José Padilla
6333e48188
Merge pull request #2753 from johnjohndoe/patch-1
...
Fix typo.
2015-04-03 17:30:52 -04:00
Tom Christie
5cf8230ba1
Merge pull request #2777 from jpadilla/docs-query-params
...
`query_params` in favor of `QUERY_PARAMS`
2015-04-01 09:24:38 -04:00
Alex Tsai
fbd8c18abd
Should use "ordering" in model Meta, not order_by
2015-03-31 17:30:04 -07:00
José Padilla
911da8a2b9
query_params
in favor of QUERY_PARAMS
2015-03-29 17:04:23 -04:00
Christoffer
6cb6b02811
Reference typos in fields.md
2015-03-26 15:51:48 +01:00
José Padilla
197027c87b
Fix older release notes link
...
Closes #2756
2015-03-23 12:15:27 -04:00
Tom Christie
98809d12c9
Typo
2015-03-23 11:45:19 +00:00
Tom Christie
bbaee714fb
Fix release date
2015-03-23 11:38:17 +00:00
Tom Christie
35a0cbb911
Add 3.1.x series header
2015-03-23 11:37:12 +00:00
Tom Christie
dbb6943298
Update release notes
2015-03-23 11:24:29 +00:00
Tom Christie
e73ddddc3a
Merge pull request #2726 from linovia/release/3.1.1
...
Release notes for 3.1.1 and version bump.
2015-03-23 11:20:23 +00:00
Tobias Preuss
49c04d7218
Fix typo.
2015-03-23 11:20:08 +01:00
Quentin Pradet
a5506610ad
Put the needed import in one example
2015-03-20 15:17:49 +01:00
Quentin Pradet
8ba66e2c10
Document per-view versioning settings
...
That is, document the default_version, allowed_version and version_param
class variables.
2015-03-20 15:06:30 +01:00
Xavier Ordoquy
164be174ea
Release notes for 3.1.1 and version bump.
2015-03-19 23:29:10 +01:00
Aaron Yong
000db8df18
Fix typo in versioning docs
2015-03-17 11:36:02 -06:00
Tom Christie
2e55d15d4d
Merge pull request #2703 from kylepjohnson/master
...
Add necessary imports to final urls.py example
2015-03-16 15:33:00 +00:00
Kyle P. Johnson
d655a423fb
Add necessary imports to final urls.py example
2015-03-16 11:17:02 -04:00
Rubén Durá Tarí
ac44bae90d
Updates ducumentation DEFAULT_PAGE_SIZE left over after #2655
2015-03-16 14:53:26 +00:00
Xavier Ordoquy
a02098b855
Fix the link to the old doc ( #2681 ).
2015-03-13 00:15:53 +01:00
Esmail
2484dbf4e1
Fix example of explicit format URL (for real).
...
Do what I meant to do in #2670 :
The link is displayed in the tutorial as "http://example.com/api/items/4.json " but the hyperlink itself and what the example code actually works with are (in my opinion, less pretty) URLs like "http://example.com/api/items/4/.json ".
2015-03-11 12:00:19 -04:00
James Rutherford
7854c939dd
Fixed import statement in API docs
2015-03-11 10:44:42 +00:00
Bryan Alsdorf
69b6e26f06
Changed incorrect class name
2015-03-10 17:30:41 -05:00
Xavier Ordoquy
3e44f788b1
Fixed a typo in the documentation's link.
2015-03-09 17:28:00 +01:00
Tom Christie
e520ea0acb
Merge pull request #2652 from jpadilla/master
...
Remove the 'docs for 3.0' banners.
2015-03-09 08:53:13 +00:00
Tom Christie
d46d860088
Merge pull request #2655 from jwbixby/patch-1
...
Update documentation over PAGE_SIZE
2015-03-09 08:50:29 +00:00
Deven Xie
20ba47e343
Fixed missing word in CursorPagination docs
2015-03-09 00:10:26 -04:00
jwbixby
c2cbda43b9
Update documenation over PAGE_SIZE
...
This replaces all locations of the old setting `DEFAULT_PAGE_SIZE` for the current setting `PAGE_SIZE`
2015-03-08 00:22:28 -05:00
José Padilla
140b94c32e
Update to 3.1 release
2015-03-07 10:50:31 -04:00
José Padilla
d12de927ad
Remove docs for 3.0 banners
2015-03-07 10:49:56 -04:00
José Padilla
2ddb6bfa70
Fix permissions on markdown files
2015-03-07 10:19:25 -04:00
José Padilla
d2181cc74c
Fix customizing field mappings link
2015-03-06 09:41:34 -04:00
Tom Christie
7efb2fd9ed
Better docs linking
2015-03-06 12:26:09 +00:00
Tom Christie
c511342047
More docs on cursor pagination
2015-03-06 11:32:03 +00:00
Tom Christie
58dfde7fcd
Tweaks for cursor pagination and docs
2015-03-06 10:22:32 +00:00
Tom Christie
efb42ff7d0
Update docs
2015-03-04 16:17:30 +00:00
Tom Christie
18cc0230bf
Clean up pagination attributes
2015-03-04 15:51:00 +00:00
Aider Ibragimov
c20a0250df
add FilePathField, update docs
2015-03-03 14:34:06 +03:00
Aider Ibragimov
de72022f80
Merge branch 'master' of https://github.com/Ins1ne/django-rest-framework into feature/ipaddress
2015-02-28 14:29:27 +03:00
Aider Ibragimov
4d5eee04a0
add IPAddressField, update docs
2015-02-28 10:11:38 +03:00
José Padilla
700af5dab2
Merge pull request #2584 from aRkadeFR/DocFixingTypo
...
Documentation test fix double word
2015-02-27 12:53:10 -04:00
aRkadeFR
9c359181d7
update for that the
instead of that
2015-02-27 17:38:28 +01:00
Tom Christie
dafc045c2d
Merge pull request #2606 from tomchristie/1.8-beta
...
Formally upgrade suport to Django 1.8-beta
2015-02-26 13:49:44 +00:00
Tom Christie
8f988466a5
Docs on exception handler context. Closes #2604 .
2015-02-26 13:20:26 +00:00
Tom Christie
e72428214c
Formally upgrade suport to Django 1.8-beta
2015-02-26 12:53:24 +00:00
Tom Christie
03818ed004
Pagination tweaks and docs
2015-02-26 12:48:34 +00:00
Mateusz Sikora
b92d6df66a
Update third-party-resources.md
2015-02-25 18:53:33 +01:00
Mateusz Sikora
e51dc1855c
Update authentication.md
2015-02-25 18:51:20 +01:00
Mateusz Sikora
71619a02c5
Update third-party-resources.md
2015-02-25 17:58:54 +01:00
ludbek
f29b657798
updated outdated link at testing.md#APIClient
2015-02-21 07:52:56 +05:45
aRkadeFR
c0916c2859
Documentation test fix double word
2015-02-20 15:59:10 +01:00
Paul Hallett
d9c652813d
add missing import in tests
2015-02-18 15:53:57 +00:00
Yannick PÉROUX
30e6f32f6f
Fix typo in requests.md
2015-02-17 17:08:30 +01:00
Tom Christie
f1e517449a
Minor docs tweak
2015-02-17 13:41:59 +00:00
Tom Christie
691ae5b646
Recommend 'pip list --outdated' instead of using pip-review
2015-02-17 13:40:59 +00:00
Tom Christie
028c477c22
Note on using pip-review in docs.
2015-02-17 12:56:19 +00:00
Tom Christie
4248a8d3fc
Merge pull request #2198 from tomchristie/version-3.1
...
Version 3.1
2015-02-13 13:38:44 +00:00
Tymur Maryokhin
9d80335ac8
Remove '.model' shortcut from viewset docs. Refs #2486 . Closes #2549 .
2015-02-12 01:10:03 +01:00
Xavier Ordoquy
f6033cee87
Add release notes for 3.0.5.
2015-02-10 22:46:54 +01:00
donewell
9ea615af14
add message to custom permission
...
change detail to message and update text
2015-02-10 20:11:53 +00:00
Joar Leth
b18d773b51
Fix typo in 3.1 announcement
2015-02-09 22:51:49 +01:00
Tom Christie
fbb21caaaa
Merge master
2015-02-09 20:43:50 +00:00
Tom Christie
407480b484
Minor docs work
2015-02-09 17:01:41 +00:00
Tom Christie
670723f021
Minor cleanups/improvements to ModelSerializer API
2015-02-06 15:45:02 +00:00
José Padilla
235b98e427
Merge pull request #2460 from mmarvick/master
...
Small fixes to the tutorial
2015-02-06 11:31:25 -04:00
Tom Christie
5d8c3abe72
Fix typo
2015-02-06 15:27:35 +00:00
Tom Christie
a435b1b355
Merge branch 'version-3.1' of git://github.com/jpadilla/django-rest-framework into version-3.1
2015-02-06 14:39:31 +00:00
Tom Christie
1f99612845
Upgrade pending deprecations to deprecations
2015-02-06 13:21:35 +00:00
Tom Christie
1d4956f616
Pagination images
2015-02-06 13:08:04 +00:00
Tom Christie
53716f6152
Internationalization docs
2015-02-06 11:37:29 +00:00
José Padilla
7f801b9a01
Add trim_whitespace to CharField #2517
...
If set to `True` then leading and trailing
whitespace is trimmed. Defaults to `True`.
2015-02-06 01:09:19 -04:00
Michael Marvick
5bf803b6ed
Revert some of the changes made in 1-serialization.md
2015-02-05 19:42:36 -08:00
Tom Christie
09488ad4da
Link to ModelSerializer API
2015-02-06 00:25:03 +00:00
Tom Christie
6c63ef13cd
Drop 2.x announcements
2015-02-06 00:04:20 +00:00
Tom Christie
41b213414d
Updating release notes
2015-02-04 23:32:25 +00:00
Xavier Ordoquy
46181341d5
Merge pull request #2512 from heywbj/docs
...
Add django-rest-framework-recursive to docs
2015-02-04 00:13:52 +01:00
Warren Jin
76efbdddb6
docs
2015-02-03 17:18:54 -05:00
James Cooke
f676569661
Small documentation fixes
...
* Remove "you you" from viewsets API-guide
* Fix link from routers API-guide to viewsets API-guide
2015-02-03 13:43:03 +00:00
Tom Christie
d015534d53
Fleshing out 3.1 announcement
2015-02-03 09:15:42 +00:00
Tom Christie
6e2ea852d0
Merge pull request #2498 from dustinfarris/update-eda-link
...
Update link for ember-django-adapter
2015-02-01 21:17:36 +00:00
Dustin Farris
2111a99b32
Update link for ember-django-adapter
2015-02-01 16:00:24 -05:00
José Padilla
9437d9b8ee
Fix base_template name in example
2015-02-01 16:18:40 -04:00
José Padilla
aaa1fcd5d1
Fixes #2493
2015-02-01 16:18:02 -04:00
Tom Christie
2cc4cb2465
Fix error text in test.
2015-01-31 08:53:40 +00:00
Tom Christie
0d96cf2ca2
Latest translation source messages.
2015-01-30 16:27:49 +00:00
Tom Christie
4ee4b4f2dc
Merge master
2015-01-30 14:00:25 +00:00
Tom Christie
7cf9dea7f9
Docs typo. Closes #2491 .
2015-01-30 11:00:29 +00:00
Tymur Maryokhin
e720927b78
Removed deprecated '.model' docs
2015-01-29 17:28:18 +01:00
mareknaskret
4a2a36ef82
Update filtering.md
...
Updated links for django-guardian package.
2015-01-28 15:17:56 +01:00
Xavier Ordoquy
0daf160946
Fix #2476
2015-01-28 00:06:34 +01:00
Xavier Ordoquy
925ea4bdc6
Release notes for 3.0.4
2015-01-27 19:43:38 +01:00
Tom Christie
fc70c0862f
Galileo Press -> Rheinwerk Verlag
2015-01-26 14:07:21 +00:00
Michael Marvick
73bd0d539f
tutorial #5 incorrectly referenced 'settings.py' instead of 'tutorial/settings.py'
2015-01-25 23:47:01 -08:00
Michael Marvick
2a6937f381
tutorial #2 incorrectly showed /item.json instead of /item/.json for format suffixes
2015-01-25 23:46:27 -08:00
Michael Marvick
90c9968a70
tutorial #1 incorrectly showed string of json instead of ReturnDict type from 'serializer.data', and also has a third item in the second usage
2015-01-25 23:45:56 -08:00
Jeff Fein-Worton
0a65913fea
typo in fields.md
2015-01-24 18:34:16 -08:00
Jeff Fein-Worton
39da9c7c86
minor typo in viewsets docs
2015-01-24 12:53:21 -08:00
Tom Christie
8f6d7f4a5a
Merge pull request #2451 from tomchristie/dict-field
...
Added DictField and support for HStoreField.
2015-01-23 16:33:37 +00:00
Tom Christie
35f6a82462
Added DictField and support for HStoreField.
2015-01-23 16:27:23 +00:00
Tom Christie
b07d931261
Merge pull request #2448 from tomchristie/uuid-field
...
Added UUIDField.
2015-01-23 15:43:21 +00:00
Tom Christie
5bb348605e
UUIDField docs
2015-01-23 15:31:08 +00:00
Tom Christie
39f26c9eca
Merge master
2015-01-23 14:28:59 +00:00
Carlton Gibson
790c92d438
Update Django-Filter references in docs and requirements.
2015-01-23 15:22:20 +01:00
Duncan Maitland
6e471ad8f4
fix link to Django CSRF docs
2015-01-22 18:29:20 +11:00
Tom Christie
9ec08ce578
Merge master
2015-01-21 13:12:14 +00:00
soooooot
3ca8f85a5b
correcting unclosed quote in routers.md
...
correcting unclosed quote in routers.md
2015-01-20 22:24:58 +08:00
Eric Theise
b0bc79ed4d
correcting "it's" to "its" in Tutorial 1
2015-01-19 14:49:36 -08:00
Tom Christie
6065cdbd93
Merge master
2015-01-19 15:16:57 +00:00
Tom Christie
53edd37df5
Tests for LimitOffsetPagination
2015-01-15 21:07:05 +00:00
Tom Christie
313aa727e3
Tweaks
2015-01-14 17:46:41 +00:00
Tom Christie
1bcec3a0ac
API tweaks and pagination documentation
2015-01-13 17:14:13 +00:00
Tom Christie
564f845e21
Lower header font weights for nicer docs style
2015-01-13 12:21:03 +00:00
Tom Christie
8e2dc6b26d
Update internationalization docs
2015-01-13 12:07:25 +00:00
Tom Christie
2b28026fc1
Translation info -> project management
2015-01-13 10:44:40 +00:00
Carlton Gibson
41e13d73fa
Merge pull request #2407 from philipn/filters_link_fix
...
Fix link to `django-rest-framework-filters`
2015-01-13 09:04:33 +01:00
Philip Neustrom
7f9a62a5bf
Fix link to django-rest-framework-filters
(formerly
...
`django-rest-framework-chain`)
2015-01-13 15:22:08 +08:00
Tom Christie
605c1fa0a8
Merge pull request #2397 from travelton/TweakTutorialDocs
...
Tweaked a few issues in the tutorial documentation.
2015-01-10 14:07:13 +00:00
Travis Swientek
8ccf5bcc0b
Tweaked a few issues in the tutorial documentation.
2015-01-09 11:36:21 -08:00
Tom Christie
11efde8905
Merge pull request #2373 from jakul/document-translations-3.1
...
Document how to translate DRF error messages (version 3.1)
2015-01-09 11:57:02 +00:00
Xavier Ordoquy
ef16c546d7
Update the release note with latest fixes.
...
Add the link to the 3.0.3 milestone.
2015-01-08 23:29:51 +01:00
Xavier Ordoquy
02ee3871ae
Merge remote-tracking branch 'origin/master' into release/3.0.3
2015-01-08 23:24:19 +01:00
Tom Christie
42c913334b
Minimum 1.6.x version is 1.6.3
2015-01-08 14:51:08 +00:00
Tom Christie
f529f83d3c
Minimum Django 1.5 version issue 1.5.6
2015-01-08 14:38:23 +00:00
Tom Christie
f0ad0a88c4
Link to Roy Fielding versioning interview.
2015-01-08 12:31:51 +00:00
Tom Christie
3dbcefb3c7
Merge branch 'master' of https://github.com/tomchristie/django-rest-framework
2015-01-08 11:07:52 +00:00
Tom Christie
e61ef3d39f
Minor docs updates
2015-01-08 11:07:47 +00:00
Tom Christie
18cefad3ab
Update project-management.md
2015-01-07 21:03:50 +00:00
Tom Christie
1102e22cb4
Update project-management.md
2015-01-07 21:02:42 +00:00
Xavier Ordoquy
42f1932b52
Release notes for 3.0.3
2015-01-07 19:10:22 +01:00
Craig Blaszczyk
7913947757
add config and documentation about uploading/downloading translations from Transifex
2015-01-07 11:13:03 +00:00
JocelynDelalande
fe92a2cfee
fixed doc : DEFAULT_AUTHENTICATION_CLASSES -> DEFAULT_AUTHENTICATION
...
+ It is consistent with docs about DEFAULT_PERMISSION_CLASSES
2015-01-07 10:42:11 +01:00
Tom Christie
271b638df1
Update exception docs. Closes #2378 .
2015-01-06 11:21:58 +00:00
Tom Christie
d3b2302588
Minor docs update. Refs #2375 .
2015-01-05 16:31:52 +00:00
Tom Christie
949e3b7507
Merge branch 'master' into version-3.1
2015-01-05 15:04:23 +00:00
Tom Christie
b6ca7248eb
required=False allows omission of value for output. Closes #2342
2015-01-05 14:32:12 +00:00
Tom Christie
17665aa52a
Add docs for OAuth, XML, YAML, JSONP packages. Closes #2179 .
2015-01-05 12:26:15 +00:00
Tom Christie
6168f60ba8
Merge branch 'master' into version-3.1
2015-01-05 11:02:28 +00:00
Craig Blaszczyk
9f169acb62
capitalise Django
2015-01-02 11:08:45 +00:00
Craig Blaszczyk
0b8a83bd62
update internationalisation instructions to prevent symlinking; add base .po file
2015-01-02 11:08:04 +00:00
Craig Blaszczyk
2781903a5a
Add info about how django chooses which language to use
2015-01-02 11:07:58 +00:00
Craig Blaszczyk
7ad7dd6a42
match DRF style guide
2015-01-02 11:07:49 +00:00
Craig Blaszczyk
309b5d2641
instructions on how to translate REST framework error messages
2015-01-02 11:07:35 +00:00
Rob Terhaar
336faf5a86
fix widget style formatting
2015-01-01 21:01:16 -05:00
Tom Christie
5d8c45681a
Update copryright for 2015. Closes #2247 .
2014-12-28 18:48:42 +00:00
Tom Christie
d8e66970a1
Note on using i18n_patterns with format_suffix_patterns. Closes #2278 .
2014-12-28 12:14:07 +00:00
Tom Christie
8dc95ee221
Add notes on include and namespacing. Closes #2335 .
2014-12-28 11:24:49 +00:00
Tom Christie
27f84aa0f3
Merge branch 'master' of https://github.com/tomchristie/django-rest-framework
2014-12-28 11:02:36 +00:00
Tom Christie
a636320ff3
Add import notes in docs. Closes #2357
2014-12-28 11:02:19 +00:00
Rocky Meza
5b5652594a
Typo manger => manager
2014-12-26 22:24:31 -07:00
Tom Christie
00531ec937
Release notes on non-text detail arguments. Closes #2341 .
2014-12-26 15:48:16 +00:00
Matías Lang
18687f075d
Documented an optional argument of HyperlinkedIdentityField
...
lookup_url_kwarg argument of HyperlinkedIdentityField wasn't documented
2014-12-23 12:22:10 -03:00
Brian Stearns
3569674860
use of double quotes broke the code highlighting.
2014-12-21 18:53:35 -05:00
Tom Christie
2a1485e009
Final bits of docs for ModelSerializer fields API
2014-12-19 21:32:43 +00:00
Tom Christie
48d15f6ff8
Stub out the documentation
2014-12-19 16:58:35 +00:00
Tom Christie
d109ae0a2e
Merge pull request #2010 from tanwanirahul/master
...
Ability to customize method names without creating a custom router
2014-12-19 16:09:01 +00:00
Rahul
8f0fef4b75
Updated documentation on url_path per suggestions.
2014-12-19 21:22:10 +05:30
Rahul
b4a3e7f640
Updates url_path info per suggestion
2014-12-19 21:20:19 +05:30
Rahul
6aa0e307c9
Added documentation about url_path parameter for custom actions.
2014-12-19 20:31:21 +05:30
tanwanirahul
a8a3fedb5c
Add url_path documention for detail_route decorator
2014-12-19 20:16:46 +05:30
Tom Christie
435aef7738
Merge branch 'master' into version-3.1
2014-12-19 11:53:05 +00:00
Tom Christie
7105c1308e
Add OPTIONS/metadata to docs index
2014-12-18 15:42:27 +00:00
Tom Christie
9c9d5bd859
Added project management docs.
2014-12-18 13:35:42 +00:00
Tom Christie
c8d88c8c8a
Merge branch 'master' into version-3.1
2014-12-18 11:21:25 +00:00
Brent O'Connor
7e9aac98fe
The pre_save method no longer works. This resolved issue #2306
2014-12-17 16:54:04 -06:00
Tom Christie
c87e95c239
Add missing date
2014-12-17 21:11:06 +00:00
Tom Christie
15c2001de0
Merge pull request #2297 from tomchristie/version-3.0.2
...
Version 3.0.2
2014-12-17 21:04:08 +00:00
Brent O'Connor
4f33cfe1a0
With httpie 0.8.0 the HTTP method has to come after the auth argument.
2014-12-17 14:38:01 -06:00
Tymur Maryokhin
eeb6e34064
Docs/tutorial import fixes. Refs #2296
2014-12-17 17:28:11 +01:00
Tom Christie
418108632c
Merge branch 'master' of https://github.com/tomchristie/django-rest-framework
2014-12-17 16:23:20 +00:00
Tom Christie
90b8f9221e
Use six.BytesIO in tutorial. Closes #2296 .
2014-12-17 16:23:00 +00:00
Tom Christie
5f933f575e
Merge pull request #2298 from epicserve/fix_typo
...
Fixed a typo
2014-12-17 16:20:22 +00:00
Brent O'Connor
530f7a21b3
Fixed a typo
2014-12-17 10:19:15 -06:00
Tom Christie
265ed9377e
Merge branch 'master' of https://github.com/tomchristie/django-rest-framework
2014-12-17 16:19:13 +00:00
Tom Christie
c9a2ce0703
Expand permissions docs. Closes #2223 .
2014-12-17 16:19:02 +00:00
Tom Christie
2adfb6c3aa
Cleanup extra newline
2014-12-17 16:00:49 +00:00
Tom Christie
bbd55fafc5
Version 3.0.2
2014-12-17 15:58:30 +00:00
Tom Christie
ad6533e554
Merge pull request #2294 from tomchristie/fix-empty-html-values-with-default
...
Fix empty HTML values when a default is provided.
2014-12-17 15:24:01 +00:00
Tom Christie
ffc099a256
Merge branch 'master' of https://github.com/tomchristie/django-rest-framework
2014-12-17 15:22:40 +00:00
Tom Christie
1ba822010d
Highlight trailing '.' in command so it wont be missed.
2014-12-17 15:22:27 +00:00
Tom Christie
3fff5cb6e0
Fix empty HTML values when a default is provided.
2014-12-17 15:13:48 +00:00
Tom Christie
c6137bbf5a
Serializer API restrictions.
2014-12-17 14:14:51 +00:00
Tom Christie
05a6eaec8a
More docs, plus 'ALLOWED_VERSIONS' setting.
2014-12-17 12:41:46 +00:00
Tom Christie
6e51e4f5cd
Versioning first pass
2014-12-16 15:34:19 +00:00
José Padilla
d71ef9c6d8
Closes #2281
2014-12-15 21:48:31 -04:00
Tom Christie
b6ee784240
Merge master
2014-12-15 12:18:55 +00:00
Jason Spafford
56c09cc1f2
Doc typo
2014-12-15 02:41:39 -08:00
Jason Spafford
b951c74df2
Made docs consistent
2014-12-15 01:24:12 -08:00
Tom Christie
d232c5739e
Merge branch 'exception-handler-context' of git://github.com/jpadilla/django-rest-framework into version-3.1
2014-12-15 09:19:53 +00:00
Tom Christie
4778463e32
Merge branch 'master' into version-3.1
2014-12-15 09:18:11 +00:00
José Padilla
478c8d724b
Update docs
2014-12-14 10:16:52 -04:00
Brian Jacobel
2d470eef80
Change serializers.Field to serializers.ReadOnlyField for 3.x compatibility
...
Using this code snippet as-is on DRF 3.0.1 results in a NotImplementedError
being raised for to_representation due to 3.0's changed behavior with
serializers.Field. The code snippet should be updated to use
serializers.ReadOnlyField instead.
Further discussion here:
https://groups.google.com/forum/?fromgroups=#!topic/django-rest-framework/aX8mLT_v3yc
2014-12-13 14:47:11 -05:00
Jeff Fein-Worton
00da241482
documentation typo
...
base-name -> base_name
2014-12-12 22:14:22 -08:00
Tom Christie
baaa356489
Merge master
2014-12-12 15:37:43 +00:00
Tom Christie
73a80564e2
Merge pull request #2251 from linovia/version/3.0.1
...
Release notes & version 3.0.1
2014-12-11 15:08:07 +00:00
Xavier Ordoquy
9c37174768
Fix the ghost backtick.
2014-12-11 15:58:02 +01:00
Xavier Ordoquy
3a69182cc9
Better link representation for the issues.
2014-12-11 15:32:52 +01:00
Xavier Ordoquy
75acdc93bc
Fix the milestone link again.
2014-12-11 15:13:15 +01:00
Xavier Ordoquy
99423defd8
Add full stop to the release note items.
...
Add link to the issues
Fix the milestone link
2014-12-11 15:11:37 +01:00
Xavier Ordoquy
9a7b0755eb
Add links to the issue id.
2014-12-11 15:06:10 +01:00
Xavier Ordoquy
ab801bb01f
Release note corrections
2014-12-11 14:57:26 +01:00
Tom Christie
9b88b5db69
Field->ReadOnlyField in tutorial docs
2014-12-11 09:54:55 +00:00
Xavier Ordoquy
0188ca7306
Release notes for 3.0.1
2014-12-11 00:02:13 +01:00
Tom Christie
8ad0b83148
Minor docs tweaks
2014-12-10 14:29:21 +00:00
Tom Christie
01bb85e80a
Merge pull request #2246 from d0ugal/mkdocs-theme
...
Syntax highlighting
2014-12-10 14:22:00 +00:00
Dougal Matthews
5fe5a93644
Move remaining sponsor
2014-12-10 14:09:47 +00:00
Dougal Matthews
1ea84c92a7
Sorted the images
...
Moved images referenced by the markdown back to the docs directory
Deleted unused image autocomplete.png
2014-12-10 13:59:51 +00:00
Tom Christie
dafc5d45a0
Minor docs tweaks to titles and citations
2014-12-10 12:28:48 +00:00
Dougal Matthews
9883862576
Move the static content into the docs theme
2014-12-10 11:34:26 +00:00
Tom Christie
76956beab4
snippets relationship in tutorial should be read_only
2014-12-09 19:53:27 +00:00
Tom Christie
f5b783af61
allow_blank in ChoiceField. Refs #2239 .
2014-12-09 14:21:31 +00:00
Tom Christie
cae19f8924
Minor docs tweaks
2014-12-09 13:21:10 +00:00
Tom Christie
4cdfb6adc2
Add REST framework: Under the hood. video to the 3.0 announcement.
2014-12-09 13:18:18 +00:00
Tom Christie
af3fe5a39f
Merge branch 'master' of https://github.com/tomchristie/django-rest-framework
2014-12-08 16:38:29 +00:00
Tom Christie
4e9ebb5fe9
cd back to parent directory
2014-12-08 16:38:17 +00:00
Tom Christie
302ec59a5c
Merge pull request #2165 from phalt/httpie-examples
...
Use httpie for tutorials
2014-12-08 15:51:19 +00:00
phalt
f3ebac061e
one last tabs / spaces!
2014-12-08 15:47:49 +00:00
phalt
8e9408115d
fixed indentations
2014-12-08 15:41:01 +00:00
Tom Christie
fd02d8266b
Added 3.0 to release notes.
2014-12-08 15:16:33 +00:00
José Padilla
8ba4e7bafe
Add misc note about localization
2014-12-08 09:18:37 -04:00
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
Xavier Ordoquy
e4820d611b
Fix the new Django default db name
...
PrimaryKeyRelatedField now needs a queryset argument.
urls now don't use urlpatterns.
2014-12-06 10:58:17 +01: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
Tom Christie
b7b0fd3e14
Added .validated_data usage. Closes #2214 .
2014-12-05 12:48:12 +00:00
Tom Christie
1b8c06aefe
Style tweaks in examples
2014-12-05 12:46:08 +00:00
Tom Christie
e2b3908834
Fix quickstart tutorial
2014-12-05 09:44:01 +00:00
Xavier Ordoquy
9d078be59c
Fix the tutorial against the v3.0
2014-12-04 23:34:55 +01:00
Xavier Ordoquy
38e05e66c9
print() function works from Python 2.6 to 3.X
2014-12-04 23:22:00 +01:00
Carlton Gibson
6ee361332b
Add missing definite article
2014-12-04 14:15:01 +01:00
phalt
fcbae5d99f
updates based on suggestions
2014-12-04 11:20:33 +00:00
Carlton Gibson
71e1a3942e
Initial link from Serializers to Validators
2014-12-04 12:15:14 +01:00
Tom Christie
3d6620c72a
Merge
2014-12-03 23:24:06 +00:00
Tom Christie
f74e52b31e
Merge
2014-12-03 23:14:58 +00:00
Tom Christie
6369f92125
Merge
2014-12-03 23:12:52 +00:00
Martin Tschammer
ab25d706c7
Renamed validated_attrs to validated_data to be more in line with other similar code.
2014-12-03 23:52:35 +01:00
eiriksm
74a9ece3dc
Update build status icon on github pages page.
2014-12-03 13:37:56 +01:00
phalt
a17d5d2b0b
remove unsused link
2014-12-02 16:11:43 +00: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
phalt
515060a6ab
Only show pip install for httpie
2014-12-02 10:16:41 +00: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
deec61e0d6
Merge pull request #2173 from jpadilla/master
...
Consolidate Django and test requirements
2014-12-02 08:32:28 +00:00
Tymur Maryokhin
0a91999d6a
Merge branch 'master' of github.com:tomchristie/django-rest-framework
2014-12-02 01:50:17 +01:00
José Padilla
bc0c25df30
Consolidate Django and test requirements
2014-12-01 17:31:11 -04:00
José Padilla
080fa4f5f8
Change allow_none to allow_null
2014-12-01 11:26:50 -04:00
Tom Christie
555c450497
Add missing 'validators.py' link. Closes #2166 .
2014-12-01 14:46:47 +00:00
phalt
34b5db62e5
Use httpie for tutorials
2014-12-01 13:39:53 +00:00
Tom Christie
1caa14dd14
Minor 3.0 announcment tweaks
2014-12-01 12:22:21 +00:00
Tom Christie
270c7acdd7
Minor validtors tweak
2014-12-01 11:59:04 +00:00
Tom Christie
b9503cd603
Support Django's core ValidationError for backwards compat. Refs #2145 .
2014-12-01 10:48:45 +00:00
Tom Christie
72c4ec4e18
Add 3.0 announcement
2014-12-01 08:54:12 +00:00
Tymur Maryokhin
e2ea98e8ab
Fixed typos
2014-11-29 20:23:55 +01:00
José Padilla
7f9dc73672
Remove XML support from core
2014-11-29 14:57:51 -04:00
José Padilla
fe745b9616
Remove JSONP support from core
2014-11-29 14:55:33 -04:00
José Padilla
731c8421af
Remove YAML support from core
2014-11-29 14:43:05 -04:00
José Padilla
0cc990792c
Merge branch 'version-3.1' into oauth_as_package
...
Conflicts:
requirements-test.txt
rest_framework/compat.py
tests/settings.py
tox.ini
2014-11-28 12:14:40 -04:00
Tom Christie
caf1de3b88
Minor tweaks to contributing docs
2014-11-28 16:06:44 +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
66b3daebbd
Docs. Sponsor call-out.
2014-11-28 13:14:47 +00:00
Tom Christie
05a86e3d65
Docs. Minor tweaks.
2014-11-28 12:51:44 +00:00
Tom Christie
276a2a52ee
Docs on nested creates/updates and suchlike
2014-11-28 11:26:35 +00:00
Tom Christie
d4b8e356b9
Merge branch '3.0-docs'
2014-11-28 09:57:02 +00:00
Tom Christie
34ca8cd2a5
Moar docs. Amazing.
2014-11-28 09:56:44 +00:00
Tom Christie
c61c59f8b7
Notes on removal of Field.validate() and Serializer.transform_<field_name>
2014-11-27 17:01:46 +00:00
Tom Christie
2fe6709769
Fix sponsor images for mkdocs
2014-11-27 11:00:57 +00:00
Tom Christie
0262262fee
3.0 serializer docs
2014-11-27 08:09:58 +00:00
José Padilla
9b88c096e0
Remove Third party packages section
...
Information about Third party packages is already covered under the Third Party Resources topic
2014-11-26 18:12:12 -04:00
Will Stott
d0e245baba
grammar
2014-11-26 15:51:28 +00:00
Will Stott
34bd2b7828
a few typos
2014-11-26 15:48:08 +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
678f7b4c65
Update notes on autocomplete
2014-11-26 10:43:45 +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
4ed0ae82e3
Add validators page
2014-11-25 16:29:14 +00:00
Tom Christie
f13c0ebe69
Merge master
2014-11-25 16:27:00 +00:00
Tom Christie
b733f85ff1
Minor docs tweaks
2014-11-25 16:24:35 +00:00
Tom Christie
c7701cd75a
Tweak
2014-11-25 16:08:48 +00:00
Tom Christie
929135ea58
Include CNAME file
2014-11-25 16:01:32 +00:00
Tom Christie
d7f8047add
Merge branch 'mkdocs' of git://github.com/d0ugal/django-rest-framework into d0ugal-mkdocs
2014-11-25 15:52:36 +00:00
Tom Christie
8c91e7b742
Add missing options
2014-11-25 15:52:13 +00:00
Tom Christie
64d8e3dcb6
Typo. Refs #2132 .
2014-11-25 13:50:35 +00:00
José Padilla
38fe2c9dad
Document writing third party packages
...
Add the following sections:
- “About Third Party Packages”
- “How to create a Third Party Package”
- “Existing Third Party Packages”
Resolve #2043
2014-11-25 09:38:48 -04:00
Dougal Matthews
673f48242f
Remove commented out title
2014-11-25 13:11:30 +00:00
Dougal Matthews
a0c12bf7c5
Change the background of the selected page on the dropdown
2014-11-25 12:44:26 +00:00
José Padilla
200e0b17da
Clean up extra white space
2014-11-25 12:44:11 +00:00
José Padilla
361827350a
Move content template into base.html
2014-11-25 12:44:11 +00:00
José Padilla
16d442dda3
Use MkDocs meta.source to render source code links
2014-11-25 12:44:11 +00:00
Dougal Matthews
d72a56f37f
Move the docs theme out of the docs folder.
2014-11-25 12:43:42 +00:00
Dougal Matthews
5d479c20d8
Move nav to it's own template based on the MkDocs theme
2014-11-25 12:43:42 +00:00
Dougal Matthews
b443f81481
Add meta description
2014-11-25 12:43:42 +00:00
Dougal Matthews
6da9d5aee0
Add a workaround for not having the index name
2014-11-25 12:43:42 +00:00
Dougal Matthews
5600878672
Fixed the TOC (again)
...
Not sure how I broke it ;-)
2014-11-25 12:43:42 +00:00
Dougal Matthews
3c49b9fe46
Add next and previous page.
2014-11-25 12:43:42 +00:00
Dougal Matthews
49a493f61f
Bring back the promo section
2014-11-25 12:43:42 +00:00
Dougal Matthews
18712a5cbc
Fix the Navigation style
2014-11-25 12:43:42 +00:00
José Padilla
d6b203f013
Use page_title instead of title in docs theme
2014-11-25 12:43:02 +00:00
Dougal Matthews
2ddef2d326
Drop simply from the mkdocs install lines
...
It is still simple tho', honest ;)
2014-11-25 12:43:02 +00:00
Dougal Matthews
84d9c4b46e
Change site_dir to html to match mkdocs.py
2014-11-25 12:42:39 +00:00
Dougal Matthews
261c4ce9af
Remove redundant requirements file
2014-11-25 12:32:29 +00:00
Dougal Matthews
3a648b9f0b
Migrate documentation to MkDocs proper
2014-11-25 12:32:29 +00:00
Tom Christie
3b40f8c1c1
Drop 0.x release notes
2014-11-25 12:15:48 +00:00
Tom Christie
83281254d1
Hypenate 'un-coerced'
2014-11-25 12:06:27 +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
Marc
83e556ba1e
Missing quotes on validate_score example
2014-11-25 12:37:20 +01:00
Tom Christie
3371131a61
Merge pull request #2116 from LuRsT/patch-5
...
Fixed database update instructions
2014-11-24 13:21:15 +00:00
Gil Gonçalves
918b9cc6a6
Added missing import in tutorial snippet
2014-11-24 08:54:07 +00:00
Gil Gonçalves
790a651893
Fixed database update instructions
2014-11-24 08:51:08 +00:00
Tony Nguyen
c94d1e6d3e
Fix typo "serailizers" to "serializers"
2014-11-23 22:40:40 +07: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
071c064d25
Fill in TODOs for 3.0 beta release notes
2014-11-20 14:22:53 +00:00
Tom Christie
6a2023a362
Note on 3.1 and 3.2 releases.
2014-11-20 13:52:00 +00:00
Tom Christie
096c58b784
Merge branch 'master' into 3.0-beta
2014-11-20 11:51:42 +00:00
Gil Gonçalves
04d2635b24
Removed unused import from code snippet in tutorial
2014-11-20 11:33:42 +00:00
Raony Guimarães
928cbc640e
small type
2014-11-19 13:53:36 -02:00
Tom Christie
bc83dfece4
Merge branch 'master' into 3.0-beta
2014-11-19 14:04:31 +00:00
Tom Christie
51b7033e4a
Further notes in 3.0 announcement
2014-11-19 14:03:19 +00:00
Tom Christie
f269826a7d
Note on 3.0 beta
2014-11-18 16:26:45 +00:00
Tom Christie
5e74f02d61
Note removal of 'save_object' and fail loudly if it exists
2014-11-18 14:49:00 +00:00
Tom Christie
0f508c5821
Docs for advanced default argument usage. Closes #1945
2014-11-17 18:36:32 +00:00
José Padilla
d08cfb0559
Fix runtests examples
...
Correctly rename runtests examples to work with current runtests.py file.
2014-11-17 08:17:40 -04:00
Eleni Lixourioti
1aa7783095
Merge branch 'version-3.1' of github.com:tomchristie/django-rest-framework into oauth_as_package
...
Conflicts:
.travis.yml
2014-11-15 14:27:41 +00:00
Tom Christie
ea98de9b88
Model fields with .blank or .null now map to required=False. Closes #2017 . Closes #2021 .
2014-11-13 19:28:57 +00:00
Tom Christie
fd7db776ad
Bring UniqueValidator implementation in line with other uniquness validators.
2014-11-10 12:32:03 +00:00
Tom Christie
8c1fa0b87d
Merge branch 'master' of https://github.com/tomchristie/django-rest-framework
2014-11-10 12:21:41 +00:00
Tom Christie
f387cd89da
Uniqueness constraints imply a forced 'required=True'. Refs #1945
2014-11-10 12:21:27 +00:00
Jochen Van de Velde
440d61ab36
Fix some typos and other errors
2014-11-08 11:02:48 +01:00
José Padilla
058fea23d3
Fix csrf-ajax link. Closes #2045
2014-11-07 23:55:42 -04:00
Tom Christie
93633c297c
Tweaks to release notes
2014-11-07 20:44:12 +00:00
Tom Christie
59b30307e8
Fixes to release notes
2014-11-07 20:10:15 +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
Sumana Harihareswara
7352405697
Updated book link in HATEOAS page
...
Per http://www.crummy.com/2013/10/03/0 , the new book is *RESTful Web APIs* and the old book, *RESTful Web Services*, is obsolete.
2014-11-04 17:18:13 -05:00
Tom Davis
3375fecc8b
Fix typo
...
That's all.
2014-11-03 15:05:45 -05:00
Tom Christie
1925d465ae
Call out 'get_value' and 'get_attribute'
2014-11-03 16:42:00 +00:00
Tom Christie
5d7b835608
Tweaks to validation notes
2014-11-03 16:17:53 +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
0da30e6d1d
Add note about 3.0 being merged to master
2014-11-03 14:43:00 +00:00
Rocky Meza
9ce130d1b5
Fixed some typos in 3.0 release notes
2014-11-03 06:56:42 -07: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
37845968cd
Merge master
2014-11-03 11:39:54 +00:00
Tom Christie
96bb77dc35
Version 2.4.4
2014-11-03 11:20:18 +00:00
Andy Baker
964b3401fb
typo fix
2014-11-01 10:25:59 +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
Tom Christie
702f47700d
Updated requirements
2014-10-24 12:12:01 +01:00
Tom Christie
c5d1be8eac
.validate() can raise field errors or non-field errors
2014-10-22 10:32:32 +01:00
José Padilla
11edd01c34
Add docs regarding linking third party packages
2014-10-17 08:58:31 -04:00
Tom Christie
05cbec9dd7
Use serializers.ValidationError
2014-10-17 13:23:14 +01:00
Tom Christie
d0f610be44
Update release notes
2014-10-16 20:47:57 +01:00
konradhalas
5e89994a10
Add to main 3rd party resources list.
2014-10-16 15:16:13 +02:00
konradhalas
113a28ed8a
Add djoser to authentication docs.
2014-10-16 13:48:18 +02:00
wolfe
f8f101268e
Update 3.0-announcement.md
...
Swap order of custom field API changes so the two "and" clauses are in the same order.
2014-10-14 18:58:25 -03:00
Tom Christie
d8a8987ab1
Tweaks
2014-10-10 14:32:02 +01:00
Tom Christie
d9a199ca0d
exceptions.ValidationFailed, not Django's ValidationError
2014-10-10 14:16:09 +01:00
Tom Christie
5d247a65c8
First pass on nested serializers in HTML
2014-10-09 15:11:19 +01: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
Tom Christie
a58cfe167d
Update tutorial for 3.0
2014-10-09 09:38:03 +01:00
Tom Christie
4c015df28c
Tweaks
2014-10-08 16:43:33 +01:00
Tom Christie
14ae52a24e
More gradual deprecation
2014-10-08 16:09:37 +01:00
Tom Christie
0cbb57b40f
Tweak pre/post save hooks. Return instance in .update().
2014-10-08 12:17:30 +01:00
Kevin London
0803716ed0
Update links in 2.4-announcement.md
...
The links to Django Rest Framework pages were 404ing because the URLs include a slash.
2014-10-04 17:34:27 -07:00
Tom Christie
3a3e2bf57d
Serializer.save() takes keyword arguments, not 'extras' argument
2014-10-03 13:42:06 +01:00
Craig de Stigter
857a8486b1
More spelling tweaks
2014-10-03 09:00:33 +13:00
Craig de Stigter
dfab9af294
Minor: fix spelling and grammar, mostly in 3.0 announcement
2014-10-03 08:41:18 +13:00
Omer Katz
770d63fb04
Fixed documentation typo.
2014-10-01 13:12:33 +03:00
Tom Christie
da4900a353
Update 3.0-announcement.md
2014-09-30 11:10:13 +01:00
Tom Christie
83a5ea8db2
Update release notes
2014-09-29 21:17:13 +01:00
Tom Christie
a8622adcd9
Update index.md
2014-09-29 16:57:40 +01:00
Tom Christie
657d1de032
Latest release notes
2014-09-29 14:12:09 +01:00
Tom Christie
4798df52df
Update release notes
2014-09-29 12:57:05 +01:00
Tom Christie
ce04d59a53
Update release notes
2014-09-26 17:07:47 +01:00
Tom Christie
ac71d9aaae
Merge master
2014-09-26 14:39:20 +01:00
Tom Christie
ee79b45397
Prepend some pre-release notes
2014-09-26 13:19:32 +01:00
Tom Christie
24f7db2fc1
Release notes
2014-09-26 13:12:10 +01:00
Tom Christie
0eb6a4de8a
Release notes
2014-09-26 13:10:58 +01:00
Tom Christie
8b8623c5f8
Allow many, partial and context in BaseSerializer
2014-09-26 12:48:20 +01:00
Tom Christie
fde934d33c
Release notes
2014-09-26 12:21:05 +01:00
Tom Christie
90311357ad
Release notes
2014-09-26 12:18:27 +01:00
Tom Christie
e8af73d144
Release notes
2014-09-26 12:17:20 +01:00
Tom Christie
43e80c74b2
Release notes
2014-09-26 11:56:29 +01:00
Tom Christie
2859eaf524
request.data attribute
2014-09-26 10:46:52 +01:00
Tom Christie
630d472055
Merge branch 'master' into version-3.0
2014-09-24 14:10:00 +01:00
Collin Anderson
da385c9c1f
remove patterns and strings from urls #1898
2014-09-23 17:10:02 -04:00
Tom Christie
c0150e619c
Add BaseSerializer heading
2014-09-19 14:59:59 +01:00
Tom Christie
8495cd898a
Drop 'No major point releases are currently planned.', cos they are.
2014-09-19 14:31:28 +01:00
Tom Christie
20424251a3
Version 2.4.3
2014-09-19 14:26:28 +01:00
Tom Christie
88008c0a68
Merge branch 'master' into version-3.0
2014-09-19 14:05:50 +01:00
Tom Christie
6d73b5969a
Initial release notes
2014-09-19 14:02:17 +01:00
Matthew J Morrison
764366b2e1
Fixed code formatting
2014-09-17 11:29:15 -05:00
Matthew J Morrison
e5af0bbb35
Clarify "raised inside REST framework"
...
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-17 07:49:54 -05:00
S. Andrew Sheppard
3725a1e77d
add wq.db router and django-rest-pandas renderers
2014-09-15 14:46:09 -05:00
Tom Christie
cefeb23b25
Merge pull request #1871 from jpadilla/third-party-docs
...
Add Third Party Resources Topic section
2014-09-14 16:52:53 +01:00
José Padilla
915dfb9b3d
Update third-party-resources.md
2014-09-14 10:19:54 -04:00
José Padilla
4871dbdc73
Add invitation to add new content
2014-09-13 16:20:37 -04:00
José Padilla
96c21b81f5
Add Third Party Resources Topic section
2014-09-13 13:53:40 -04:00
Tom Christie
4fceceae7d
DecimalField documentation
2014-09-12 20:09:08 +01:00
Tom Christie
f95e7fae38
Updating docs
2014-09-12 12:40:53 +01:00
Tom Christie
19b8f779de
Throttles now use Retry-After header and no longer support the custom style
2014-09-11 20:43:44 +01:00
Tom Christie
de301f3b66
Merge master
2014-09-11 13:20:44 +01:00
S. Andrew Sheppard
e76f56a3d6
add django rest pandas
2014-09-10 11:55:43 -05:00
Darren Maki
fe06d96dec
Fixing quotes in filtering.md
...
Incorrect quotes used in examples.
2014-09-07 12:53:21 -04:00
Jharrod LaFon
baa518cd89
Moved OAuth support out of DRF and into a separate package, per #1767
2014-09-05 15:30:01 -07:00
Tom Christie
f08afe162c
Version 2.4.2
2014-09-03 16:35:17 +01:00
Tom Christie
55e779c856
Version 2.4.1
2014-09-01 09:07:55 +01:00
Tom Christie
5490fc2700
Fix links in 2.4 release
2014-08-29 13:29:51 +01:00
Jamie Matthews
baceb528cb
Fix typos in 2.4 release notes
2014-08-29 11:11:18 +01:00
Tom Christie
0f8fdf4e72
Remove allow_empty
.
...
Closes #1774 .
2014-08-29 10:57:24 +01:00
Tom Christie
d8eb9e6d45
Docs whitespace fix.
2014-08-29 10:48:16 +01:00
Tom Christie
572107281f
Typo in 2.4 announcement name
2014-08-29 10:15:55 +01:00
Tom Christie
2a61ed8bac
2.4 Release notes
2014-08-29 10:10:17 +01:00
Tom Christie
8f4ae06b3b
Merge pull request #1784 from tomchristie/remove-model-attribute
...
Deprecate `.model` attribute on views
2014-08-29 10:03:07 +01:00
Tom Christie
bb1604674f
Minor docs update
2014-08-29 09:21:10 +01:00
Tom Christie
e7e3d29de4
Sponsor fix
2014-08-28 17:35:45 +01:00
Tom Christie
2536b93c03
Merge branch 'master' of https://github.com/tomchristie/django-rest-framework
2014-08-28 17:02:37 +01:00
Tom Christie
73bd408f78
Latest sponsor update
2014-08-28 17:01:58 +01:00
Nathan Hubbell
be21cafd2b
Update generic-views.md
...
Small grammar changes.
2014-08-27 17:57:40 -07:00
Nathan Hubbell
19076510f4
Update generic-views.md
2014-08-26 17:31:08 -07:00
Carlton Gibson
c29c75da28
Merge pull request #1789 from nemesisdesign/patch-5
...
docs: added drf-hstore to third party fields
2014-08-26 11:19:48 +02:00
Federico Capoano
eb81c55d16
docs: added HStoreSerializer to third party serializers
...
added a reference to django-rest-framework-hstore in docs/api-guide/serializers.md
2014-08-25 12:32:44 +02:00
Federico Capoano
8e3f7700f6
docs: added drf-hstore to third party fields
...
added a reference to django-rest-framework-hstore in docs/api-guide/fields.md
2014-08-25 12:29:10 +02:00
Tom Christie
8b2052172c
Add .model deprecation to release notes
2014-08-21 12:25:20 +01:00
Tom Christie
21a0a826bb
Add Retry-After to release notes. Refs #1508 .
2014-08-20 17:34:51 +01:00
Tom Christie
6953a5ecec
Typo
2014-08-20 17:16:47 +01:00
Tom Christie
4d8c63abc9
Deprecate .model in related routers/permissions
2014-08-20 17:15:46 +01:00
Tom Christie
9372cc8c31
Deprecate .model attribute on views
2014-08-20 16:24:52 +01:00
Tom Christie
59b47eac14
Fix cache_throttle typo
2014-08-20 12:32:24 +01:00
Tom Christie
6ffc97c808
Merge pull request #1770 from tomchristie/2.4.0
...
2.4.0 Release.
2014-08-20 12:06:29 +01:00
Tom Christie
f7b3e1e62b
Latest sponsor update
2014-08-20 11:09:04 +01:00
Tom Christie
874d2be83c
Release notes
2014-08-20 00:19:03 +01:00
Tom Christie
0c65e028b6
Release notes
2014-08-19 23:25:12 +01:00
Tom Christie
63d02dbea8
Drop six from compat. 1.4.2 is now the lowest supported version.
2014-08-19 17:06:55 +01:00
Tom Christie
00c0dfc66f
Documentation on runtests.py
2014-08-19 16:29:05 +01:00
Tom Christie
e385a7b8eb
Merge master
2014-08-19 10:11:10 +01:00
Tom Christie
c092b4df78
Merge pull request #1641 from javins/login-title
...
Refactor login template to extend base.
2014-08-18 20:28:34 +01:00
Tom Christie
2aad8e4b35
Merge pull request #1654 from carltongibson/1559-take-2
...
Allow use of native migrations in 1.7 — Take 2
2014-08-18 18:54:43 +01:00
Carlton Gibson
556948661a
Improve wording.
2014-08-18 13:54:46 +02:00
Carlton Gibson
db4426fc35
Alter other reference to migrations.
2014-08-18 13:52:57 +02:00
Carlton Gibson
ae2ab496c2
Updated docs for South v1.0
2014-08-18 13:48:46 +02:00
Tom Christie
8244c7cc33
Merge pull request #1711 from kdazzle/ModelViewSet-queryset-static-property
...
Issue #1707 : Add documentation to api-docs.viewsets
2014-08-18 12:25:03 +01:00
Tom Christie
61a1eaa485
tabs -> spaces
2014-08-18 11:55:22 +01:00
Tom Christie
92d51c813f
Merge pull request #1688 from ekonstantinidis/quick-start-order
...
Updated quick start project set up order
2014-08-18 11:54:14 +01:00
Tom Christie
dce30207da
Remove kickstarter links from homepage and README
2014-08-18 11:09:53 +01:00
Tom Christie
6edbabe0e1
Link to Django docs on widgets. Closes #1760 .
2014-08-18 10:58:00 +01:00
Tom Christie
b9cb9929b9
Merge pull request #1761 from sshquack/minor-doc-updates
...
Trivial doc updates
2014-08-18 10:53:11 +01:00
Tom Christie
38a0e3e627
Sponsor update
2014-08-16 14:02:44 +01:00
sshquack
867e441ec0
Strip trailing spaces in tutorial
2014-08-15 20:45:28 -06:00
sshquack
14867705e9
Specify file names using standard format
...
+ Explicitly specify module names in the standard format similar to all
the other tutorials
+ Remove the extra quote around module name
2014-08-15 20:41:21 -06:00
Tom Christie
172b9c74f9
Latest sponsor update
2014-08-15 17:48:43 +01:00
Tom Christie
967798e832
Added compile to the sponsors
2014-08-15 17:39:51 +01:00
Tom Christie
4c60639595
Added Holvi
2014-08-15 16:19:13 +01:00
Tom Christie
e624871a68
Latest backer update
2014-08-15 15:46:26 +01:00
Tom Christie
a5561954d7
Latest sponsor updates
2014-08-15 15:36:49 +01:00