Kyle
fc8eb76c22
Issue #1707 - Add info about queryset property caching to get_queryset() docs.
...
Add documentation to the get_queryset() method of generic-views.md regarding
the caching of the queryset property.
2014-07-28 10:19:42 -07:00
Kyle
e40ffd60d4
Issue #1707 - Add documentation about the caching of GenericAPIView.queryset
...
to the `queryset` property, `get_queryset()`, and do generic-views.md; remove
changes to the viewsets.md documentation from my last commit.
2014-07-28 10:11:40 -07:00
Kyle Valade
48b02f016a
Issue #1707 : Add documentation to api-docs.viewsets notifying users
...
that they should use the get_queryset() method when overriding a
ModelViewSet method, such as list(). Otherwise, since queryset is
a static property, the value will be cached for every instance of
that ViewSet.
2014-07-27 14:01:43 -07:00
Xavier Ordoquy
4876bec9f5
Merge remote-tracking branch 'origin/master' into 2.4.0
...
Conflicts:
rest_framework/fields.py
2014-07-26 00:06:56 +02:00
Tom Christie
299a8347e8
Merge pull request #1692 from davbo/patch-1
...
Update fields.md
2014-07-22 15:59:04 +02:00
Tom Christie
81d15aa9be
Add link to drf-extra-fields. Closes #1698
2014-07-20 15:45:45 +01:00
Tom Christie
4324f50437
Phrasing tweak
2014-07-18 11:54:51 +01:00
Tom Christie
ab34ddcf2f
Typo
2014-07-18 11:53:23 +01:00
Tom Christie
550243fd26
Beef up the kickstarter announcement
2014-07-18 11:51:48 +01:00
Tom Christie
ead0e60099
Docs for kickstarter announcement
2014-07-17 17:17:41 +01:00
Tom Christie
6bf0f81b0b
Kickstarter note on front page
2014-07-17 13:41:19 +01:00
Dave King
680fabe9dd
Update fields.md
...
obj.__class__ will return the actual Class object, we want to serialise a string (accessed with obj.__class__.__name__)
2014-07-17 11:46:59 +01:00
Tom Christie
dd2e950cde
Fusion ads
2014-07-15 15:02:09 +01:00
Emmanouil
18eab53e89
Updated quick start project set up order
2014-07-09 15:53:31 +01:00
Tom Christie
b519018125
Docs on object level permissions and filters. Closes #1683
2014-07-07 09:51:23 +01:00
Tom Christie
91eabd54bb
Docs tweak
2014-07-01 14:34:23 +01:00
Chibisov Gennady
c1426d1078
Fixes #1651 . Add link to drf-extensions nested routers to docs
2014-06-26 23:29:00 +04:00
Carlton Gibson
d98245ac22
Merge branch '2.4.0' of github.com:tomchristie/django-rest-framework into #1559
...
Conflicts:
docs/topics/release-notes.md
2014-06-24 10:30:08 +02:00
Carlton Gibson
3f727ce738
Added (first pass) notes to docs & release notes. Backed out SOUTH_MIGRATION_MODULES
setting from rest_framework.settings
2014-06-24 09:02:44 +02:00
Xavier Ordoquy
2489e38a06
Merge remote-tracking branch 'origin/master' into 2.4.0
...
Conflicts:
.travis.yml
docs/api-guide/viewsets.md
rest_framework/serializers.py
rest_framework/throttling.py
tests/test_generics.py
tests/test_serializers.py
tox.ini
2014-06-23 14:02:45 +02:00
Walt Javins
b4c7717cb8
Refactor login template to extend base.
...
While experimenting with extending DRF, I found that the login page
1) had no title, and 2) duplicated <head> info from base.html.
This change adds a new {% block body %} to the base.html template
which allows override of the entire html <body>. login_base.html
has its duplicated head info stripped, and now extends base.html
to share common html <head> templating.
As part of this change, pretify.css is unnecessarily added to
login_base.html. If this is deemed a problem, it will be easy to
block that css out, and have login_base.html override the block.
Ideally, I would have liked to create a new api_base.html that extends
base.html, move the api specific logic into that template, and leave
base.html content agnostic, to truely be a unifying base for all DRF
pages. But this change would break current apps that override
api.html and expect base.html to be the immediate super template. :/
This change is benificial because it:
- removes duplication of header declarations (mostly css includes)
- adds a html title to the login page
- standardizes html header info across all DRF pages
Docs are updated to reflect the new structure.
2014-06-13 22:26:00 -07:00
Tom Christie
82659873c9
Fix accidental docs change
2014-06-12 11:48:58 +01:00
Tom Christie
1386767013
Version 2.3.14
2014-06-12 11:47:26 +01:00
Greg Barker
be84f71bc9
Fix #1614 - Corrected reference to serializers.CharField
2014-06-10 15:20:45 -07:00
Rodolfo Carvalho
31f63e1e55
Fix typo in docs
2014-06-02 11:06:03 +02:00
Tom Christie
a7ff51118f
Note on configuring TokenAuthentication
2014-05-29 14:33:16 +01:00
khamaileon
eab5933070
Add the allow_add_remove parameter to the get_serializer method
2014-05-26 18:43:50 +02:00
Tom Christie
218b94e606
Merge pull request #1536 from Ian-Foote/choicefield_blank_display_value
...
Allow customising ChoiceField blank display value
2014-05-20 16:03:51 +01:00
Ian Foote
1e7b5fd2c0
Document ChoiceField blank_display_value parameter
2014-05-20 14:55:00 +01:00
Giorgos Logiotatidis
768f537dcb
Typo fix.
2014-05-15 15:42:22 +03:00
Sylvain Bellemare
e033a0b9a0
Replaced singular "is" by plural "are"
2014-05-06 15:08:53 +02:00
Sylvain Bellemare
beb7253a96
Removed unnecessary "that"
2014-05-06 15:08:53 +02:00
Sylvain Bellemare
9dc5e15e5a
Added missing "the" word
2014-05-06 15:08:53 +02:00
Sylvain Bellemare
9e3ba939e1
Removed superfluous "./"s
2014-05-05 20:28:00 +02:00
Sylvain Bellemare
05fc974dc9
Added missing "the" word
2014-05-05 14:44:54 +02:00
Sylvain Bellemare
cdc7d19034
Added missing "to" word
2014-05-05 14:41:10 +02:00
Xavier Ordoquy
15c2c58b43
Updated the release-notes.
2014-05-01 08:43:49 +02:00
Xavier Ordoquy
7b4463f739
Merge remote-tracking branch 'reference/2.4.0' into feature/pytest
...
Conflicts:
rest_framework/runtests/urls.py
tests/test_response.py
tox.ini
2014-05-01 08:01:38 +02:00
Xavier Ordoquy
2aca69a946
Merge remote-tracking branch 'reference/master' into feature/pytest
...
Conflicts:
tests/test_serializer.py
2014-04-30 22:24:01 +02:00
Xavier Ordoquy
56b4390316
Merge remote-tracking branch 'origin/master' into 2.4.0
...
Conflicts:
.travis.yml
rest_framework/serializers.py
rest_framework/tests/test_authentication.py
2014-04-30 22:21:26 +02:00
Xavier Ordoquy
d8fb81ceb1
Merge pull request #1391 from kaygorodov/master
...
Turning off pagination
2014-04-30 20:14:16 +02:00
Laurent Bristiel
d8cb85ef8f
typo
2014-04-28 22:00:36 +02:00
dpetzel
5e8f05a8de
very minor typo in code example
2014-04-28 13:51:50 -04:00
Xavier Ordoquy
f4a82dd5da
Updated the release notes.
2014-04-24 14:33:36 +02:00
Xavier Ordoquy
1797a74e82
Merge remote-tracking branch 'pelme/pytest' into feature/pytest
...
Conflicts:
.travis.yml
rest_framework/runtests/runtests.py
tests/test_filters.py
tests/test_pagination.py
tox.ini
2014-04-17 09:53:44 +02:00
Xavier Ordoquy
d08536ad9d
Merge remote-tracking branch 'origin/master' into 2.4.0
...
Conflicts:
.travis.yml
docs/api-guide/fields.md
docs/api-guide/routers.md
docs/topics/release-notes.md
rest_framework/authentication.py
rest_framework/serializers.py
rest_framework/templatetags/rest_framework.py
rest_framework/tests/test_authentication.py
rest_framework/tests/test_filters.py
rest_framework/tests/test_hyperlinkedserializers.py
rest_framework/tests/test_serializer.py
rest_framework/tests/test_testing.py
rest_framework/utils/encoders.py
tox.ini
2014-04-13 00:05:57 +02:00
Miro Hrončok
f68596a732
Document new UnicodeYAMLRenderer
2014-04-10 01:58:06 +02:00
Craig
3234a5dd6b
Fix python syntax in filtering docs
2014-04-08 22:56:07 -04:00
Dmitry Mukhin
e45e52a255
replace page with page_size to avoide confusion
2014-04-07 20:39:45 +04:00
Tom Christie
abe14c06f7
Minor docs tweak
2014-03-17 08:36:13 +00:00
Tom Christie
dddbff5931
Tweak DRF compound fields docs
2014-03-17 08:33:18 +00:00
Steven Cummings
c779dce3e4
Serializer fields section for 3rd-party packages
...
* Add new section to serializer fields page where we can list and link 3rd-party packages that provide more field types
* Add an entry for drf-compound-fields
2014-03-16 18:55:21 -05:00
Peter Inglesby
2353878951
Add SEARCH_PARAM and ORDERING_PARAM to settings
...
Fixes #1434
2014-03-06 21:39:44 +00:00
Tom Christie
c1148241ee
Version 2.3.13
2014-03-06 09:01:05 +00:00
Andreas Pelme
971578ca34
Support for running the test suite with py.test
...
* Get rid of runtests.py
* Moved test code from rest_framework/tests and rest_framework/runtests to tests
* Invoke py.test from setup.py
* Invoke py.test from Travis
* Invoke py.test from tox
* Changed setUpClass to be just plain setUp in test_permissions.py
* Updated contribution guideline to show how to invoke py.test
2014-03-02 12:40:30 +01:00
Kumar McMillan
c2cd610b15
Adds HawkREST to 3rd party auth docs
2014-02-28 16:52:47 -06:00
Kumar McMillan
a4470c4276
Fix trailing whitespace
...
Sorry, my editor does this automatically
2014-02-28 16:51:32 -06:00
Kumar McMillan
e2857bdcff
Fix link to tox
2014-02-28 16:35:03 -06:00
Kumar McMillan
f5f4c1a837
strip trailing whitespace
...
my editor does this by default
2014-02-28 16:34:42 -06:00
DanSears
abb240648c
clarified which urls.py to edit
2014-02-28 08:40:45 -08:00
Charlie Denton
c3967c08ab
Minor docs example fix
...
Dates are smaller when they happen before.
2014-02-21 14:23:33 +00:00
Tom Christie
9841069373
Link to DRF-extensions. Refs #1430
2014-02-20 14:54:17 +00:00
Elvio Toccalino
1a4c6f075b
include djangorestframework-httpsignature in the docs
2014-02-20 01:07:39 -03:00
Saurabh Kumar
b3aa512d35
fix(docs): fix code indentation in serializers.md
...
It fixes the indentation of `restore_object()` in the section "Specifying which fields should be write-only" serializers documentation.
2014-02-18 20:39:39 +05:30
Bo Peng
6f4c2c6f05
Update throttling.md
...
Added comma to make DEFAULT_THROTTLE_CLASSES a tuple in example, for copy&paste to work nicely.
2014-02-14 13:47:06 -06:00
Vita Smid
821f848802
Minor typos fixed in api-guide/testing.md (request -> response).
2014-02-14 10:44:02 +01:00
Tom Christie
aaa5885232
Update credits
2014-02-13 17:40:00 +00:00
Tom Christie
c465ceaf5c
Merge pull request #1417 from amezhenin/issue_1386
...
Add myself into credits.md
2014-02-13 17:38:38 +00:00
Artem Mezhenin
45d89b5d11
credit, issue #1386 , PR #1397
2014-02-13 21:25:35 +04:00
amatellanes
0cb08ac707
Fixed Testing docs section
2014-02-12 23:17:05 +01:00
Hassan Shamim
97b7c25987
Replace 'detail' with 'default_detail' in Exceptions guide and APIException class docstring.
2014-02-10 12:54:56 -06:00
Andrey Kaygorodov
2d20512d25
#1390 , docs, turning of pagination
2014-02-05 21:10:51 +08:00
Andrey Kaygorodov
d48ba1cff7
turn of pagination
2014-02-05 05:47:27 +08:00
RicterZ
ba8a0bac53
Fixed a bug backticks
...
fix
you may optionally exclude the ``self.check_object_permissions, and simply return the object from the `get_object_or_404` lookup.
to
you may optionally exclude the `self.check_object_permissions`, and simply return the object from the `get_object_or_404` lookup.
2014-02-04 23:41:13 +08:00
Charlie Denton
40b148a2e4
Viewsets docs typo
...
The docstring in the example said "update" instead of "create".
2014-02-03 14:54:44 +00:00
Jeff Fein-Worton
a33eb4177e
fixed typo (wrong "its")
2014-02-02 21:21:08 -08:00
meoooh
e437854a44
Update fields.md
2014-02-01 15:02:11 +09:00
Tom Christie
fab531961b
Merge pull request #1379 from bodylabs/exception_example
...
Fix doc for custom exception sample
2014-01-31 09:52:47 -08:00
Paul Melnikow
77ced39e6c
Fix doc for custom exception sample
...
The way to provide a default detail for APIException is to define a `default_detail` attribute on the subclass.
Defining a `detail` attribute without `default_detail` will not work, and will result in empty detail instead.
2014-01-31 12:26:45 -05:00
Tom Christie
e3c5a13451
Drop django-rest-framework-bulk API descriptions
2014-01-19 21:09:49 +00:00
Tom Christie
96e6565be8
Merge pull request #1363 from miki725/master
...
Added docs for bulk views from django-rest-framework-bulk.
2014-01-19 13:08:12 -08:00
José Padilla
1c34051f5e
Include the djangorestframework-jwt package
2014-01-18 23:51:18 -05:00
Miroslav Shubernetskiy
37cd49cac9
Added docs for bulk views from django-rest-framework-bulk.
2014-01-18 22:31:36 -05:00
Tom Christie
71c03b9db9
Security update to OrderingFilter
2014-01-15 14:27:41 +00:00
Tom Christie
9d6129a95f
Merge branch 'master' of https://github.com/tomchristie/django-rest-framework
2014-01-14 20:36:04 +00:00
Tom Christie
d20c49da4a
More HyperlinkedModelSerializer docs
2014-01-14 20:34:33 +00:00
Tom Christie
9a8082878a
Use a local virtualenv, not in the users homedir.
2014-01-14 17:13:48 +00:00
Tom Christie
cbd214699d
Tweak html for hidden h1 on homepage
2014-01-14 14:47:34 +00:00
JakeSidSmith
4655d34848
Added h1 and alt to logo to improve SEO
...
Added title attribution to logo
2014-01-14 14:40:36 +00:00
Tom Christie
85d74fc86a
Added write_only and write_only_fields. Refs #1306
2014-01-14 11:25:44 +00:00
Tom Christie
2911cd64ad
Minor tweaks to 'lookup_value_regex' work
2014-01-13 15:37:52 +00:00
Tom Christie
4ab97843e8
Merge pull request #1333 from bodylabs/2.4.0+lookup_regex
...
Let viewsets specify their regex
2014-01-13 07:34:58 -08:00
Tom Christie
a90796c0f0
Track changes that need noting in 2.4 announcement
2014-01-13 09:56:57 +00:00
Yuri Prezument
6e622d644c
CharField - add allow_null argument
2014-01-12 10:53:54 +02:00
Tom Christie
b61cef435e
Merge pull request #1345 from bodylabs/serializers_doc
...
serializers.md: Fix typos
2014-01-10 05:25:21 -08:00
Paul Melnikow
4b8d1b66ab
serializers.md: Fix typos
2014-01-10 08:22:47 -05:00
Yuri Prezument
052e236fde
Fix URL/Slug Field signatures in docs
2014-01-09 18:12:30 +02:00
Tom Christie
78494401c5
Use www.django-rest-framework.org for docs instead of django-rest-framework.org due to issues with naked domains
2014-01-08 15:22:41 +00:00
Tom Christie
2b033d2456
New font in logo
2014-01-07 14:57:00 +00:00
Paul Melnikow
899381575a
Fix a typo
2014-01-04 17:03:01 -05:00
Paul Melnikow
3cd15fb171
Router: Do not automatically adjust lookup_regex when trailing_slash is True
...
BREAKING CHANGE
When trailing_slash is set to True, the router no longer will adjust the lookup regex to allow it to include periods. To simulate the old behavior, the programmer should specify `lookup_regex = '[^/]+'` on the viewset.
https://github.com/tomchristie/django-rest-framework/pull/1328#issuecomment-31517099
2014-01-04 16:57:50 -05:00
Paul Melnikow
a1d7aa8f71
Allow viewset to specify lookup value regex for routing
...
This patch allows a viewset to define a pattern for its lookup field, which the router will honor. Without this patch, any characters are allowed in the lookup field, and overriding this behavior requires subclassing router and copying and pasting the implementation of get_lookup_regex.
It's possible it would be better to remove this functionality from the routers and simply expose a parameter to get_lookup_regex which allows overriding the lookup_regex. That way the viewset config logic could be in the a subclass, which could invoke the super method directly.
I'm using this now for PostgreSQL UUID fields using https://github.com/dcramer/django-uuidfield . Without this patch, that field passes the lookup string to the database driver, which raises a DataError to complain about the invalid UUID. It's possible the field ought to signal this error in a different way, which could obviate the need to specify a pattern.
2014-01-04 16:45:03 -05:00
Tom Christie
399e4d9b08
Merge branch 'master' into logo
2014-01-03 13:27:00 +00:00
Tom Christie
442916b964
Link to BrightAPI, and remove ad except from frontpage
2014-01-03 13:24:52 +00:00
Tom Christie
3050f0e82a
Frontpage tweaks
2014-01-03 13:06:41 +00:00
Kevin Brown
0672d6de6e
Fix bugfix note
...
This fixes a bugfix note that was added because of #1293 , which
pointed out that a change in a bugfix [1] broke backwards
compatibility. The bugfix did not work as expected because a
variable was quoted when it should not have been. This removes
the quotes around the variable, which brings back the expected
functionality.
2014-01-02 16:46:57 -05:00
Tom Christie
1f3f2741f5
Happy new year
2014-01-02 09:28:34 +00:00
Tom Christie
75e8724731
Fuller notes on the 'base_name' argument. Closes #1160 .
2013-12-23 14:38:51 +00:00
Tom Christie
d24ea39a4e
Added note on view_name in hyperlinked relationships. Closes #1221
2013-12-23 14:29:22 +00:00
Tom Christie
bed2f08c24
Updated release notes
2013-12-23 11:57:25 +00:00
Tom Christie
52686420f4
Merge branch 'bennbollay-patch-1' into 2.4.0
...
Conflicts:
.travis.yml
docs/api-guide/routers.md
rest_framework/compat.py
tox.ini
2013-12-23 09:48:59 +00:00
Tom Christie
d8a95b4b6d
Back out permissions example change in favor of easier to follow example
2013-12-23 09:12:34 +00:00
amatellanes
2846ddb5d2
Simplified some examples in tutorial
2013-12-23 09:06:03 +01:00
amatellanes
74f1cf6355
Revert "Simplified some examples in tutorial"
...
This reverts commit d6806340e5
.
2013-12-23 08:56:34 +01:00
amatellanes
d6806340e5
Simplified some examples in tutorial
2013-12-23 08:50:46 +01:00
Tom Christie
bc0e994784
Added example of using APIException class. Closes #1300
2013-12-21 21:10:05 +00:00
Tom Christie
1f3ded4559
Docs tweaks
2013-12-21 17:18:25 +00:00
Vitaly Babiy
22343ee117
Added links to djangorestframework-camel-case in the third party
...
sections of the docs for both parsers and renderers.
2013-12-21 07:07:06 -05:00
Tom Christie
02ae1682b5
Add note on compat import in tutorial
2013-12-17 09:45:28 +00:00
Xavier Ordoquy
8026480454
Use the BytesIO for buffering bytes and import the one from the compat module.
2013-12-17 10:30:23 +01:00
Tom Christie
31dd160256
Typo
2013-12-16 11:59:14 +00:00
Tom Christie
6b6b255684
Add note on pagination bugfix. Closes #1293 .
2013-12-14 20:42:58 +00:00
Tom Christie
f78b3187df
Added @philipforget for work on #1232 . Thanks :)
2013-12-13 22:01:19 +00:00
Tom Christie
54d3c6a725
Updated release notes
2013-12-13 21:59:47 +00:00
Tom Christie
39dbea4da4
Links to drf-nested-routers
2013-12-13 20:27:17 +00:00
Tom Christie
87b99d1ac8
Update release notes
2013-12-13 20:17:26 +00:00
Tom Christie
9c41c007af
Merge branch 'master' into 2.4.0
...
Conflicts:
.travis.yml
docs/api-guide/routers.md
docs/topics/release-notes.md
rest_framework/compat.py
2013-12-13 16:32:34 +00:00
Tom Christie
ca244ad614
Expanded notes in quickstart. Closes #1127 . Closes #1128 .
2013-12-13 15:30:59 +00:00
Tom Christie
7e7336db91
Merge branch 'master' of https://github.com/tomchristie/django-rest-framework
...
Conflicts:
docs/api-guide/routers.md
2013-12-13 09:04:54 +00:00
S. Andrew Sheppard
73e8536e0d
third-party package: wq.db
2013-12-12 21:45:44 -06:00
Tom Christie
ed931b90ae
Further docs tweaks
2013-12-13 00:11:59 +00:00
Tom Christie
83da4949c0
Allow NUM_PROXIES=0 and include more docs
2013-12-13 00:02:18 +00:00
Tom Christie
df2d9034c2
Add third party packages
2013-12-12 23:10:31 +00:00
OddBloke
4f473f0b9e
Use get_user_model instead of User in Generating Tokens example
...
Because that's a better way of doing it.
2013-12-11 13:56:56 +00:00
OddBloke
5acefd3b17
Add full required imports to Generating Tokens example
...
Previously we were missing User and post_save.
2013-12-11 13:55:54 +00:00
David Ray
7382f8c6ad
Update routers.md
...
Reference to ```DefaultRouter``` should be ```SimpleRouter```
2013-12-10 14:56:07 -05:00
Tom Christie
c09ad1bedc
Remove incorrect apostrophe
2013-12-10 08:53:38 +00:00
Tom Christie
40164fcc62
Update release notes
2013-12-10 08:49:54 +00:00
Tom Christie
785a42cd5a
Tweak REST condition text.
2013-12-10 08:38:43 +00:00
Maxim Kamenkov
9ba7be959c
Added REST Condition to 3rd party permissions packages list.
2013-12-09 20:33:06 +02:00
Tom Christie
b599447b71
Merge pull request #1277 from Ian-Foote/master
...
Fix typo "Not" -> "Note"
2013-12-09 01:54:37 -08:00
Ian
de319f3e28
Fix typo "Not" -> "Note"
2013-12-09 09:53:16 +00:00
Tom Christie
2c898bd901
Update release notes
2013-12-09 09:27:10 +00:00
Tom Christie
c1be503308
Add notes to contributing docs
2013-12-09 08:46:18 +00:00
Tom Christie
e6f6bb5c7e
Add notes to contributing docs
2013-12-09 08:42:09 +00:00
Tom Christie
23369650e3
Add notes to contributing docs
2013-12-09 08:14:21 +00:00
Tom Christie
e80b353085
Add notes to contributing docs
2013-12-09 08:10:51 +00:00
Tom Christie
5eca31d161
Merge pull request #1275 from qooleot/master
...
RelatedField is function of serializer class
2013-12-08 23:46:55 -08:00
Rustam Lalkaka
b8732d2165
Minor grammar fix -- 'team' is singular
2013-12-08 19:34:24 -05:00
taras
3399158d62
RelatedField is function of serializer class
2013-12-08 11:40:40 -05:00
Andy Wilson
db19fba50d
update installation example to work with django 1.6
...
looks like django.conf.urls.defaults was deprecated as of django 1.6
2013-12-06 22:31:07 -06:00
kahnjw
887da7f6c5
Add missing tick marks
2013-12-06 14:30:33 -08:00
kahnjw
196c5952e4
Fix typo
2013-12-06 14:24:16 -08:00
kahnjw
100a933279
Add documentation to explain what effect these changes have.
2013-12-06 14:22:08 -08:00
Tom Christie
910de38a9c
Version 2.3.10
2013-12-06 22:13:50 +00:00
Tom Christie
85d9eb0f7e
Update release-notes.md
2013-12-06 21:47:26 +00:00
Tom Christie
51359e4612
Added @chuckharmston for kickass bug squashing in #1272
2013-12-06 21:42:52 +00:00
Tom Christie
f8088bedef
Upgrade JSONP security warning.
2013-12-05 09:01:00 +00:00
Drew Kowalik
f2682537e0
fix broken documentation links
2013-12-04 16:10:05 -08:00
Tom Christie
6446b44f01
Merge branch 'master' of https://github.com/tomchristie/django-rest-framework
2013-12-04 14:59:28 +00:00
Tom Christie
de5b9e39dd
First pass on contribution guide
2013-12-04 14:59:09 +00:00
Tom Christie
04a43ddca5
Merge pull request #1267 from tomchristie/fix-1133
...
Clarify wording, fixes #1133 .
2013-12-04 00:52:07 -08:00
Tom Christie
3c3906e278
Clarify wording, fixes #1133 .
2013-12-04 08:51:34 +00:00
Tom Christie
38d78b21c0
Remove Content-Type header from empty responses. Fixes #1196
2013-12-03 16:55:11 +00:00
Tom Christie
9f1918e41e
Added @ian-foote, for work on #1250 . Thanks!
2013-12-03 16:06:57 +00:00
Tom Christie
b92c911cf6
Update release-notes.md
2013-12-03 16:05:19 +00:00
Tom Christie
fe4c7d4000
Update release-notes.md
2013-12-03 08:26:58 +00:00
Pablo Recio
699ec7236b
Adds pre_delete and post_delete hooks on
2013-12-03 00:07:41 +00:00
Stephan Groß
850cd83ba7
Fix TemplateHTMLRenderer example
2013-12-02 11:44:04 +01:00
Omer Katz
c46106c961
Rephrased documentation changes according to feedback on IRC.
2013-11-27 14:47:37 +02:00
Omer Katz
2dce8d7a8a
Recommend using Pillow instead of PIL.
2013-11-27 13:23:49 +02:00
Tom Christie
3765865b4b
Update 'default' explanation. Closes #1239
2013-11-20 17:40:56 +00:00
Tom Christie
304b193efe
Update release-notes.md
2013-11-19 15:58:34 +00:00
Tom Christie
ca2bd616d9
Remove a couple of .html suffixes in docs
2013-11-19 11:01:27 +00:00
Tom Christie
bc69a6d983
Add a 404 page to the docs
2013-11-18 16:10:26 +00:00
Tom Christie
20325cce18
Drop .html suffixes in docs
2013-11-18 16:10:14 +00:00
Tom Christie
075b8c1037
Add User import. Refs #599
2013-11-18 09:29:09 +00:00
Tom Christie
128bda5712
Use less specfic language in UltaJSON notes
2013-11-15 15:24:32 +00:00
Tom Christie
1d1b2f765c
Version 2.3.9
2013-11-15 13:55:02 +00:00
Alex
72d72e4d3e
Add Alex Good to credits (Whoop!)
2013-11-13 14:32:37 +00:00
Jacob Haslehurst
52ac2199a8
Added drf-ujson-renderer to renderers docs
...
drf-ujson-renderer is a third party renderer that implements JSON renderering using UltraJSON
2013-11-11 22:24:37 +11:00
Doğan Çeçen
fd2c291c4d
Typo on api-guide/fields.md and serializers.py
2013-11-11 11:54:30 +02:00
Tom Christie
003b9dda34
Merge pull request #1207 from erkarl/master
...
Updated OAuth2 authentication docs.
2013-11-02 02:24:08 -07:00
Tom Christie
5e0538fcda
Added @robhudson for work on #1211 . Thanks!
2013-11-02 09:15:35 +00:00
erkarl
f72488d609
Updated OAuth2 authentication docs.
2013-10-31 03:47:23 +02:00
Kit Randel
7d5499bcac
In the API test client example 'data' was not defined. There's also no
...
need to define 'expected' as we can just test against the dict.
2013-10-25 11:45:33 +13:00
Tom Christie
2ddf7869e3
Added @yamila-moreno for work on #1199 . Thanks!
2013-10-24 15:29:40 +01:00
Tom Christie
d1edef410d
Merge pull request #1199 from yamila-moreno/get-filter-backends
...
Added get_filter_backends method
2013-10-24 07:29:21 -07:00
Yamila Moreno
82e9ddcf7a
Added get_filter_backends method
2013-10-24 16:16:01 +02:00
Yamila
c92af2b1dd
Typo on generic-views.md
2013-10-24 15:56:53 +02:00
Tom Christie
4d894fd39e
Added @alexanderlukanin13 for fix #1198 . Thanks!
2013-10-24 13:50:05 +01:00
Tom Christie
f92d8bd972
Added @jbzdak, for the nice docs improvements in #1191 . Thanks!
2013-10-22 12:21:26 +01:00
Jacek Bzdak
cc9c7cd8a4
Small documentation fix
2013-10-22 13:15:48 +02:00
Jacek Bzdak
8fffc346c1
Merge remote-tracking branch 'origin/master'
2013-10-22 13:13:01 +02:00
Jacek Bzdak
25c9d552c0
Explained a bit more about django-filter implementation.
...
Well, I spent some time trying to gues how djang-filter works, and
if this changes would be introduced, I would have saved this time.
2013-10-22 13:11:14 +02:00
Tom Christie
fa87fac61b
Added @ross for work on #1187 . Thanks!
2013-10-22 10:21:06 +01:00
Tom Christie
76672787cd
Added . Closes #1188 .
2013-10-21 09:47:07 +01:00
Tom Christie
c37bd40d28
Merge branch 'master' of https://github.com/tomchristie/django-rest-framework
2013-10-21 09:30:17 +01:00
Tom Christie
70b0798118
Add invite signup
2013-10-21 09:30:01 +01:00
Jesús Espino
ed9c3258a6
Remove the detail=None from APIException signature
...
The documentation not match with the implementation. The APIException doesn't have detail parameter in the constructor class, actually doesn't have constructor method at all.
2013-10-21 10:24:06 +02:00
Tom Christie
c3aeb16557
Update 3-class-based-views.md
2013-10-18 09:32:04 +01:00
Tom Christie
016deaf9de
Merge pull request #1177 from rprince/patch-2
...
Mention name of file to edit
2013-10-18 01:30:17 -07:00
Tom Christie
44a0f1cfbc
Merge pull request #1178 from rprince/patch-3
...
Using the filenames where relevant
2013-10-18 01:16:51 -07:00
Tom Christie
78c8e6de40
Update 2-requests-and-responses.md
2013-10-18 09:10:54 +01:00
Tom Christie
bad5083e09
Merge pull request #1176 from rprince/patch-1
...
Added name of file to edit
2013-10-18 01:10:03 -07:00
Colin
daf927ef68
add @tamakisquare for work on #1111
2013-10-17 12:28:58 -07:00
Tom Christie
545ee013e3
Added @badale, for work on #1179 . Thanks!
2013-10-17 09:40:06 +01:00
Rikki
bf60848952
Using the filenames where relevant
...
Sometimes it's hard to tell which file the code is intended to go in. Now it spells it out.
2013-10-16 03:21:43 +01:00
Rikki
cb123e896e
Mention name of file to edit
...
To reduce unnecessary cognitive load of the learner, name the file they are putting this code in.
2013-10-16 03:08:43 +01:00
Rikki
e83bc00323
Added name of file to edit
...
So reader doesn't have to remember, or check through all the files to find where this code fragment was, mention the file name when it is relevant.
2013-10-16 03:03:51 +01:00
Álvaro Lázaro
89ac03af26
Add missing commas in relations.md
2013-10-12 20:31:33 +02:00
Tom Christie
97fbc5caec
Merge pull request #1157 from dpetzel/tutorial_authentication
...
Be sure to import UserSerializer
2013-10-11 00:36:55 -07:00
Carlton Gibson
0bbc775b95
Merge pull request #1071 from craigds/field-transform-methods
...
Feature: add transform_<fieldname> methods to serializers
2013-10-09 01:11:46 -07:00
dpetzel
864497eebb
Be sure to import UserSerializer
2013-10-05 23:16:58 -04:00
dpetzel
48a38386af
**very minor** typo fix
2013-10-05 19:29:25 -04:00
Tom Christie
3833f1d55f
Added @hcliff for #1153 . Thanks!
2013-10-04 15:55:57 +01:00
Omer Katz
ab4be47379
Fixed code example.
2013-10-03 17:34:34 +02:00
Tom Christie
afc9e9e038
Merge branch 'master' of https://github.com/tomchristie/django-rest-framework
2013-10-03 15:18:47 +01:00
Tom Christie
f6301636fb
Drop erronous left-over bit of docs. Closes #1147
2013-10-03 15:18:38 +01:00
Craig de Stigter
42bbf6907e
docs: add paragraph on transform_fieldname methods
2013-10-03 12:38:42 +13:00
Jeff
61dd9ce914
Update release-notes.md
...
Simple typo fix.
2013-10-01 15:47:47 -06:00
Doron Pearl
8a1d327579
corrected doc for throttle_classes decorator
...
the decorator actually expects an array and otherwise raise an exception.
2013-09-30 14:08:46 -04:00
Krzysztof Jurewicz
49847584a8
Minor documentation fix.
2013-09-29 12:49:38 +02:00
Tom Christie
21cd638659
Merge master
2013-09-25 09:44:26 +01:00
Tom Christie
57a51f790b
Added @mkai, for work on #1126 . Thanks!
2013-09-24 09:21:55 +01:00
Grzegorz Kapkowski
fda0c520bd
Match docs to current code.
2013-09-23 16:10:46 +02:00
John Mee
de6e7accef
Mindnumbingly trivial single-char typo.
2013-09-23 14:03:09 +10:00
Braulio Soncco
3d8fad0444
Fixing simple typo
2013-09-18 00:33:05 -05:00
Tom Christie
e8c6cd5622
Update release notes.
2013-09-13 19:43:19 +01:00
Tom Christie
d75ecb3d69
Added @mrmachine. Thanks!
...
For work on #1109 .
2013-09-13 19:40:58 +01:00
Tai Lee
a9dbd46c94
Refs #1109 -- Update docs. Integrate changes from feedback.
2013-09-14 00:54:44 +10:00
Tom Christie
895beb89c6
Note on '.model' as default only, with 'serializer_class', and 'queryset' attributes prefered. Closes #1100
2013-09-12 21:41:21 +01:00
Tom Christie
2da9ab8cc5
Merge branch 'master' of https://github.com/tomchristie/django-rest-framework
2013-09-12 20:27:36 +01:00
Tom Christie
dfc430caba
Fix django guardian link
2013-09-12 20:27:23 +01:00
Diego Ponciano
2a6a2013df
small typo correction on ViewSet example code
2013-09-11 17:25:57 -03:00
Tom Christie
195790e60b
Version 2.3.8
2013-09-11 09:09:30 +01:00
Tom Christie
e021472a16
Added @bwreilly for awesome work on #1093 . Thanks!!!
2013-09-10 21:07:20 +01:00
Tom Christie
101da45810
Updated release notes
2013-09-10 21:06:42 +01:00
Tom Christie
5970baa201
Tweaks and docs to object-level model permissions.
2013-09-10 21:00:13 +01:00
Tom Christie
75fb4b02b4
Merge branch 'master' of git://github.com/bwreilly/django-rest-framework into bwreilly-master
2013-09-10 20:21:15 +01:00
Tom Christie
f5c34926d6
Update release-notes.md
2013-09-09 20:41:54 +01:00
Tom Christie
b6c0c815aa
Extra docs on custom exception handling.
2013-09-07 20:45:43 +01:00
Andy Freeland
bae0ef6b5d
Add EXCEPTION_HANDLER docs to exception docs
2013-09-06 13:57:32 -05:00
Andy Freeland
b5523bcc7d
Support customizable view EXCEPTION_HANDLER
...
Add `api_settings.EXCEPTION_HANDLER` to support custom error responses.
Fixes #907 .
2013-09-06 12:47:33 -05:00
bwreilly
4a9dcfa760
added guardian as optional requirement, stubbed out object-level permission class
2013-09-06 11:01:31 -05:00
Tom Christie
916d8ab37d
Fix typo
2013-09-06 12:19:51 +01:00
Tom Christie
b47f1b0257
Added @edmundwong for work on #1076 . Thanks!
2013-09-05 20:25:45 +01:00
Tyler Hayes
c4cb26f73b
Tiny typo fix
2013-09-04 03:38:34 -07:00
Kevin Brown
d0123a1385
Changed DOAC documentation link
2013-09-02 10:23:54 -04:00
Tom Christie
8b245fed14
Add windows virtualenv activate instruction
...
Closes #1075 .
2013-09-02 09:17:51 +01:00
tom-leys
85ab879a85
Updated tutorial part 6: 2 examples were missing includes
2013-08-31 19:40:53 +12:00
Tom Christie
f8101114d1
Update release notes
2013-08-30 09:31:35 +01:00
Tom Christie
9a5b2eefa9
Merge master
2013-08-30 09:28:33 +01:00
Tom Christie
556b4bbba9
Added note on botbot IRC archives
2013-08-29 20:04:00 +01:00
Tom Christie
ac0fb01be3
Update release notes.
2013-08-29 19:31:36 +01:00
Tom Christie
4b46de7dce
Added @diox for fix #1074 . Thanks!
2013-08-29 19:31:36 +01:00
Brett Koonce
da9c17067c
minor sp
2013-08-29 09:23:34 -05:00
Tom Christie
6f8acb5a76
Added @niwibe
...
For docs addition #1070 - Thanks!
2013-08-29 09:31:12 +01:00
Tom Christie
bf07b8e616
Better docs for customizing dynamic routes. Refs #908
2013-08-29 08:53:19 +01:00
Andrey Antukh
2d37952e78
Add composed-permissions entry to the api-guide.
2013-08-29 00:52:07 +02:00
Tom Christie
711fb9761c
Update release notes.
2013-08-28 13:35:27 +01:00
Tom Christie
97b52156cc
Added .cache
attribute on throttles.
...
Closes #1066 . More localised than a new settings key, and more
flexible in that different throttles can use different behavior.
Thanks to @chicheng for the report! :)
2013-08-28 13:34:14 +01:00
Tom Christie
d7224afe54
Added @alexander-akhmetov.
...
For work on MAX_PAGINATE_BY, #1063 . Thanks! :)
2013-08-28 12:57:29 +01:00
Tom Christie
848567a0cd
Docs for MAX_PAGINATE_BY
setting & view attribute.
2013-08-28 12:55:49 +01:00
Tom Christie
ea6eee304c
Note 'request.session' as available on requests.
2013-08-27 12:37:55 +01:00
Tom Christie
c3e273a90e
Added @kristianoellegaard.
...
For docs addition #1059 . Thanks!
2013-08-27 09:16:20 +01:00
Kristian Øllegaard
afee470aca
More information on how actions are mapped to URLs in viewsets
2013-08-26 11:02:01 +02:00
Tom Christie
2340035789
Added @ericbuehl
...
For pull request #1058 . Thank you! :)
2013-08-25 20:48:10 +01:00
Tom Christie
53d60543c3
Add warning against HTMLFormRenderer
2013-08-25 20:31:04 +01:00
Tom Christie
c7847ebc45
Docs for HTMLFormRenderer
2013-08-23 17:10:50 +01:00
Tom Christie
c77e4a2c59
Merge branch 'master' into html-form-renderer
2013-08-23 16:46:14 +01:00
Tom Christie
436e66a42d
JSON responses should not include a charset
2013-08-23 16:45:55 +01:00
Tom Christie
b72a99fef2
Merge branch 'display-nested-data' into html-form-renderer
2013-08-23 14:39:52 +01:00
Tom Christie
f54fc3a76b
Merge branch 'master' of https://github.com/tomchristie/django-rest-framework
2013-08-23 14:06:39 +01:00
Tom Christie
7bbe0f868f
Added @krzysiekj
...
For work on #1034 . Thanks!
2013-08-23 13:37:25 +01:00
Tom Christie
f2b190e374
Update release notes
2013-08-23 12:06:23 +01:00
Tom Christie
dba6027813
Add missing period.
2013-08-23 11:27:12 +01:00
Tom Christie
19a774f972
force_authenticate(None) also clears session info.
...
Closes #1055 .
2013-08-23 11:21:52 +01:00
Stephan Groß
b8561f4123
Add @ramiro for #1056 thanks!
2013-08-22 17:52:22 +02:00
Ramiro Morales
ec5955101b
Update parsers.md
...
s/renderers/parsers/
2013-08-22 12:40:12 -03:00
Tom Christie
16ffdedd14
Merge master
2013-08-21 21:31:59 +01:00
Tom Christie
44ceef8415
Updating 2.4.0 release notes
2013-08-21 21:30:25 +01:00
Tom Christie
4338e1e43f
Added @filipeximenes
...
For work on #1050 . Thanks!
2013-08-21 20:00:35 +01:00
Tom Christie
cf6ae397db
Docs tweaking around check_object_permissions
2013-08-21 19:57:30 +01:00
Tom Christie
d900847d98
Merge pull request #1050 from filipeximenes/master
...
Improving documentation about object level permissions #1049
2013-08-21 11:52:45 -07:00
Tom Christie
5e40e50f2b
Include import paths throughout docs.
...
Closes #1051 . Thanks to @pydanny for the report.
2013-08-21 19:46:09 +01:00
Filipe Ximenes
1bf7123415
improving documentation about object level permissions #1049
2013-08-20 16:24:13 -03:00
Tom Christie
f84d4951bf
Update release notes
2013-08-19 21:46:34 +01:00
Tom Christie
4292cc18fa
Docs tweaking
2013-08-19 20:53:30 +01:00
Tom Christie
c607414f16
Merge
2013-08-19 20:36:18 +01:00
Tom Christie
34d65119fc
Update release notes.
2013-08-19 08:54:48 +01:00
Tom Christie
3a99b0af50
Added @chrispaolini.
...
For customizable view names/descriptions in #1043 . Thanks! :)
2013-08-19 08:47:52 +01:00
Tom Christie
5120670624
Document customizable view names/descriptions
2013-08-19 08:45:53 +01:00
Tom Christie
c1ccd8b5b5
Update docs to include testing.
2013-08-16 14:12:24 +01:00
Tom Christie
f6f69dc71d
Version 2.3.7
2013-08-16 14:03:20 +01:00
Tom Christie
13ca305b06
Tweak docs.
2013-08-16 13:27:21 +01:00
Tom Christie
d5b56310b0
Update release notes
2013-08-16 13:23:27 +01:00
Tom Christie
7bc63fbb11
Added @jsatt.
...
For fix & tests in #1037 .
2013-08-14 13:17:30 +01:00
Stephan Groß
999056cde1
Add @martync for #1033 thanks!
2013-08-13 10:43:07 +02:00
martync
770d496307
Small typo
2013-08-13 09:19:40 +02:00