Tom Christie
24a6882232
Merge pull request #1375 from linovia/feature/django_1_7
...
Django 1.7 compatibility
2014-03-03 14:32:38 +00:00
Xavier Ordoquy
3d7cb72e0a
Merge remote-tracking branch 'reference/master' into feature/django_1_7
2014-03-03 11:41:07 +01:00
Tom Christie
ee9864e0dc
Merge pull request #1448 from zhanghongfei/master
...
In the method permission_denied, did not use the request parameter.
2014-03-02 20:56:29 +00:00
Tom Christie
b93e3a060a
Merge pull request #1447 from kumar303/hawk
...
Adds HawkREST to 3rd party docs
2014-03-02 20:09:52 +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
hongfeiZhang
693d9d9c63
In the method permission_denied, did not use the request parameter.
2014-03-01 11:37:31 +08: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
Tom Christie
62786a7ad6
Merge pull request #1444 from DanSears/master
...
clarified which urls.py to edit
2014-02-28 16:43:17 +00:00
DanSears
abb240648c
clarified which urls.py to edit
2014-02-28 08:40:45 -08:00
Tom Christie
22f225175f
Merge pull request #1437 from Keats/master
...
Display the media type of the API response on the browsable API
2014-02-28 11:55:45 +00:00
Tom Christie
22576013b9
Merge pull request #1443 from silent1mezzo/patch-1
...
Update Travis to test Django 1.6.2
2014-02-28 11:55:05 +00:00
Anton Shutik
3c62f0efc3
RelatedField.get_default_value: return empty list if self.many==True
2014-02-28 13:59:21 +03:00
Tom Christie
c3c69f4304
Merge pull request #1441 from dustinfarris/null-serialization
...
TestCases and POST/PUT'ing serialized data that contains `None`
2014-02-28 09:27:27 +00:00
Tom Christie
1a75e7b02b
Merge pull request #1440 from un33k/master
...
handle zero and negative available_requests
2014-02-28 09:18:03 +00:00
Val Neekman
818b4bf8b3
handle negative time value and prevent a divide by zero
2014-02-27 12:27:54 -08:00
Dustin Farris
f126856f65
Allow 'None' to pass as a null value in RelatedFields
2014-02-27 12:30:59 -05:00
Adam McKerlie
0620263d24
Update Travis to test Django 1.6.2
...
We should be testing the latest version of Django 1.6 as we're doing in the other 1.x releases.
2014-02-27 11:47:21 -05:00
Anton Shutik
1addd09e2b
RelatedField default value handling fixed
2014-02-27 18:34:36 +03:00
Keats
6cd0394e20
Display the media type of the API response on the browsable API
2014-02-26 23:47:35 +00:00
Dustin Farris
505f1173d0
Demonstrate problem post/put'ing serialized data that contains 'None'
2014-02-26 12:08:26 -05:00
Tom Christie
6e92e415aa
Merge pull request #1436 from meshy/patch-1
...
Minor docs example fix
2014-02-21 14:24:27 +00: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
Tom Christie
0a0dad8c60
Merge pull request #1433 from etoccalino/http-signature
...
include djangorestframework-httpsignature in the docs
2014-02-20 08:20:06 +00:00
Elvio Toccalino
1a4c6f075b
include djangorestframework-httpsignature in the docs
2014-02-20 01:07:39 -03:00
Tom Christie
316b7b8786
Merge pull request #1428 from theskumar/patch-1
...
fix(docs): fix code indentation in serializers.md
2014-02-18 15:15:18 +00: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
Tom Christie
d328f1827d
Tweak comment wrapping.
2014-02-18 12:30:55 +00:00
Tom Christie
68573a3c1a
Merge pull request #1427 from Ian-Foote/refactor_update
...
Refactor UpdateModelMixin.update
2014-02-18 12:29:50 +00:00
Ian Foote
dca8b98356
Remove unnecessary else
2014-02-18 12:28:02 +00:00
Ian Foote
f22aeeb0a3
Refactor UpdateModelMixin.update
...
Reduce nesting, return early in error cases.
2014-02-18 12:08:12 +00:00
Xavier Ordoquy
b2f0f4fcf4
Merge remote-tracking branch 'reference/master' into feature/django_1_7
2014-02-18 11:42:35 +01:00
Xavier Ordoquy
5ae94547bc
Moved the python_2_unicode_compatible into compat module.
2014-02-18 11:42:17 +01:00
Tom Christie
822eb39599
Merge pull request #1420 from bo-peng/patch-1
...
Update throttling.md
2014-02-15 11:51:14 +00:00
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
tuky
5e4336845f
Update throttling.py
...
python 3 u'' gone
2014-02-14 13:47:17 +01:00
Tom Christie
895d660fdc
Merge pull request #1418 from ze-phyr-us/docs-api-testing-typo-fix
...
Minor typos fixed in api-guide/testing.md (request -> response).
2014-02-14 09:49:25 +00: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
3627f7a477
Merge remote-tracking branch 'origin/issue_1386' into issue_1386
2014-02-13 21:25:50 +04:00
Artem Mezhenin
45d89b5d11
credit, issue #1386 , PR #1397
2014-02-13 21:25:35 +04:00
Artem Mezhenin
723d3a509b
credit, issue #1386 , PR #1897
2014-02-13 21:24:29 +04:00
Tom Christie
a06252f812
Merge pull request #1397 from amezhenin/issue_1386
...
update regex for matching URLs, fixes issue #1386
2014-02-13 16:27:19 +00:00
Artem Mezhenin
dbd993d108
wrapper for smart_urlquote, issue #1386
2014-02-13 20:14:47 +04:00
Artem Mezhenin
08ec23268d
(I hope) tests are fixed, issue #1386
2014-02-13 19:39:53 +04:00
Artem Mezhenin
d00ea3bcac
change regex back, issue #1386
2014-02-13 18:59:05 +04:00