Commit Graph

1943 Commits

Author SHA1 Message Date
Omer Katz
09caf49f6f Wrote the runautopep8.py script in order to ease running of autopep8. Fixed typo in development.txt 2013-01-25 21:10:43 +03:00
Omer Katz
f5b5e318a6 Fixed PEP8 error E711 comparison to None should be 'if cond is None that required manual review. 2013-01-25 20:07:17 +03:00
Omer Katz
862cafa81a Travis will now check if django rest framework conforms to pep8 before running the tests. Added autopep8 to the development process. Applied it for the first time. 2013-01-25 20:04:56 +03:00
Omer Katz
e92a01224d The build will now fail if code coverage is below the CODE_COVERAGE_TRESHOLD setting. Currently set to 80. 2013-01-25 19:26:14 +03:00
Omer Katz
799f35a1c3 Replaced the custom runner with django-discover-runner. 2013-01-25 19:00:38 +03:00
Omer Katz
b76caa8623 Travis will now install the development.txt requirements in order to run using django-discover-runner. 2013-01-25 12:11:08 +03:00
Omer Katz
3470aa8996 Resolved conflicts after merge. 2013-01-25 12:02:34 +03:00
Omer Katz
f4b9d45976 Resolved conflicts after merge. 2013-01-25 12:00:46 +03:00
Omer Katz
79fa5c9588 Resolved conflicts before merge. 2013-01-25 11:54:39 +03:00
Omer Katz
2b8cba55a8 The runcoverage.py script now works correctly with django-discover-runner. Also refactored code structure for clarity.
Added an option to report the code coverage as an xml file.
2013-01-25 11:36:47 +03:00
Omer Katz
a655910dbe The statuses tests now cover all statuses and not just two of them. 2013-01-25 10:56:33 +03:00
Omer Katz
f2004b6898 Replaced numbers with statuses from the status model. 2013-01-25 10:29:02 +03:00
Omer Katz
cd96048648 Fixed misspelled remark. 2013-01-25 10:22:13 +03:00
Omer Katz
978b5d472c Fixed misspelled remark. 2013-01-25 10:18:38 +03:00
Omer Katz
12b3adcfec Fixed misspelled remarks. 2013-01-25 10:16:04 +03:00
Omer Katz
f245398187 Fixed misspelled remark. 2013-01-25 10:13:32 +03:00
Omer Katz
ac537b909f Fixed misspelled remark. 2013-01-25 10:10:19 +03:00
Omer Katz
5db882f337 Added a development.txt requirements file in order to ease development. Documented how to run coverage.py. 2013-01-25 09:44:06 +03:00
Omer Katz
bbd0ef84b4 Tests now run with django-discover-runner instead of a custom suite. 2013-01-24 20:35:26 +03:00
Tom Christie
a57c0c5aae Docs tweak based on user feedback. 2013-01-23 19:03:55 +00:00
Tom Christie
4a4fe60e33 Merge pull request #603 from minddust/validation_error
Add failed testcase for fieldvalidation + fix
2013-01-23 01:21:26 -08:00
Tom Christie
b7abf14d3a Pass PaginationSerializer context through to child ModelSerializer on init. Fixes #595. Fixes #552. 2013-01-23 07:38:13 +00:00
Stephan Groß
30046cae8c Add validate_<fieldname> bugfix to release notes 2013-01-23 07:55:00 +01:00
Stephan Groß
69e62457ef Improve validate_<fieldname> fix 2013-01-23 07:53:54 +01:00
Stephan Groß
f0071dbccd Add separate test for failed custom validation 2013-01-23 07:52:56 +01:00
Tom Christie
cf52c0e044 Update release notes. 2013-01-22 17:42:06 +00:00
Tom Christie
998c245f72 Add twitter share button to index page. 2013-01-22 17:35:52 +00:00
Tom Christie
dd10d538ff Merge pull request #416 from tomchristie/unauthenticated_response
Unauthenticated requests - 401 vs 403 responses
2013-01-22 09:12:48 -08:00
Tom Christie
b7ab2aee46 Merge branch 'master' into unauthenticated_response
Conflicts:
	docs/api-guide/authentication.md
2013-01-22 09:11:38 +00:00
Tom Christie
65b62d64ec WWW-Authenticate responses 2013-01-21 21:29:49 +00:00
Tom Christie
e29ba356f0 Added @kevinastone, for work on extra test cases in #602. Thanks! 2013-01-21 17:53:27 +00:00
Tom Christie
778b0dddef Merge pull request #602 from kevinastone/master
TestCase for `format_suffix_patterns`
2013-01-21 09:51:33 -08:00
Tom Christie
98bffa68e6 Don't do an inverted if test. 2013-01-21 17:42:39 +00:00
Kevin Stone
e7916ae0b1 Tweaked some method names to be more clear and added a docstring to the test case class.
Signed-off-by: Kevin Stone <kevinastone@gmail.com>
2013-01-21 09:37:50 -08:00
Stephan Groß
2250ab6418 Add possible solution for field validation error 2013-01-21 12:50:39 +01:00
Stephan Groß
dc1c57d595 Add failed testcase for fieldvalidation 2013-01-21 12:45:30 +01:00
Kevin Stone
71bd2faa79 Added test case for format_suffix_patterns to validate changes introduced with issue #593.
Signed-off-by: Kevin Stone <kevinastone@gmail.com>
2013-01-20 13:03:38 -08:00
Tom Christie
2c76212e54 Add missing import to tutorial. Fixes #599 2013-01-20 16:38:32 +00:00
Tom Christie
42fcc3599c Added @brutasse for docs fix #600. Thanks! 2013-01-20 15:50:16 +00:00
Tom Christie
3b561f7f30 Merge pull request #600 from brutasse/fix/authtoken-docs
Fixed reference to authtoken in the docs
2013-01-20 07:45:54 -08:00
Bruno Renié
9b9b6529bc Fixed reference to authtoken in the docs 2013-01-20 14:49:07 +01:00
Tom Christie
771821af7d Include kwargs in included URLs 2013-01-19 18:39:39 +00:00
Tom Christie
69083c3668 Drop print statement 2013-01-19 18:36:25 +00:00
Tom Christie
199fa766ff Update release notes 2013-01-19 17:00:20 +00:00
Tom Christie
2c05faa52a format_suffix_patterns now support include-style nested URL patterns. Fixes #593 2013-01-19 16:56:48 +00:00
Tom Christie
37d49429ca Raise assertion errors if @api_view decorator is applied incorrectly. Fixes #596. 2013-01-19 15:51:14 +00:00
Tom Christie
af3fd09845 Tweak imports in tutorial. Fixes #597. 2013-01-19 15:31:21 +00:00
Tom Christie
a98049c5de Drop unneeded test 2013-01-19 15:25:32 +00:00
Tom Christie
4b61ead53f Added @nemesisdesign, for documentation on Apache mod_wsgi setup. Thanks!
Refs #588.
2013-01-18 22:30:03 +00:00
Tom Christie
73b69b9bb6 Rephrasing. 2013-01-18 22:26:36 +00:00