Commit Graph

3028 Commits

Author SHA1 Message Date
Christopher Paolini
7fbeb87726 Update formatting.py
Simple update that allows setting the title used in the Browseable API and disable suffix if desired.

Class MyAPIView(viewsets.GenericViewSet):
    def Meta:
        view_name = 'API View'
        view_name_suffix = False
2013-08-15 10:50:47 -04:00
Tom Christie
c245fc6cde Merge pull request #1040 from crushingithard/patch-1
Update filters.py
2013-08-15 01:28:28 -07:00
Chad Barrington
99083baf25 Update filters.py
Fixed cut n pasted get_ordering docstring for ya bro.
2013-08-14 16:01:25 -05:00
Chad Barrington
486f4c8047 Update filters.py
Here's a little cleanup for ya, brah!
2013-08-14 15:18:44 -05:00
Tom Christie
7bc63fbb11 Added @jsatt.
For fix & tests in #1037.
2013-08-14 13:17:30 +01:00
Tom Christie
44401273f7 Merge pull request #1038 from jsatt/nontime_throttling
don't set X-Throttle-Wait-Second header if throttle wait is None
2013-08-14 05:15:57 -07:00
Tom Christie
5311f781ff Merge pull request #1039 from rotajota/master
Fix for "No module named compat"
2013-08-14 05:14:22 -07:00
JT
2f03870ae1 Fix for "No module named compat" 2013-08-13 18:48:49 -05:00
Jeremy Satterfield
1d8a80f5cc don't set X-Throttle-Wait-Second header if throttle wait is None 2013-08-13 15:31:58 -05:00
Stephan Groß
999056cde1 Add @martync for #1033 thanks! 2013-08-13 10:43:07 +02:00
Stephan Groß
8da18fbbc4 Merge pull request #1033 from martync/patch-1
Fix typo
2013-08-13 01:14:20 -07:00
martync
770d496307 Small typo 2013-08-13 09:19:40 +02:00
Tom Christie
5a03e2c318 Merge pull request #1031 from yprez/template-fix-patch-label
Fix PATCH button title in the template
2013-08-12 05:50:38 -07:00
Yuri Prezument
cd5f1bb229 Fix PATCH button title in template 2013-08-12 15:44:00 +03:00
Tom Christie
54b7b6760c Added @etos.
For fixes in #1029, #1030 - Thanks!
2013-08-12 09:27:34 +01:00
Tom Christie
fbd4c4ee8f Merge pull request #1030 from etos/patch-2
Spelling correction on read_only_fields err msg
2013-08-12 01:25:36 -07:00
Tom Christie
e8288445a7 Merge pull request #1029 from etos/patch-1
Spelling correction on read_only_fields err msg
2013-08-12 01:25:10 -07:00
Dan Stephenson
bbdcbe9452 Spelling correction on read_only_fields err msg
just spotted extras
2013-08-10 01:22:47 +01:00
Dan Stephenson
edd696292c Spelling correction on read_only_fields err msg 2013-08-10 01:12:36 +01:00
Tom Christie
2761d6a472 Added @kolvia.
For multiple documentation fixes in #1026.  Thank you! :)
2013-08-07 20:27:41 +01:00
Tom Christie
9ac43f133b Merge pull request #1026 from kolvia/fix-typos
Fixed typos in a bunch of docs
2013-08-07 12:25:22 -07:00
Veronica Lynn
4d8d2340be Fixed typos in a bunch of docs 2013-08-07 14:00:06 -04:00
Stephan Groß
b52beb0734 Merge pull request #1023 from jsummerfield/patch-5
Fix typos in routers.md
2013-08-03 02:38:25 -07:00
James Summerfield
4ff1dc6a11 Fixing typos in routers.md 2013-08-03 10:23:39 +01:00
Stephan Groß
e4144b5b67 Add @rlr for #1022 thanks! 2013-08-02 08:59:18 +02:00
Stephan Groß
f2c3a88fc5 Merge pull request #1022 from rlr/missing-comma
Add missing comma to generic view example.
2013-08-01 23:57:48 -07:00
Ricky Rosario
3802442c89 Add missing comma to generic view example. 2013-08-01 17:02:16 -04:00
Stephan Groß
9e9233f87f Merge pull request #1017 from minddust/third_party_docs
Add drf-any-permission docs entry #1014
2013-07-31 11:26:22 -07:00
Stephan Groß
e612103991 Fix typo 2013-07-31 20:25:28 +02:00
Stephan Groß
294d957361 Add drf-any-permission docs entry 2013-07-31 20:14:49 +02:00
Tom Christie
43a5f8183c Merge pull request #1015 from leandersikma/patch-1
Renamed wrong filename in the browsable API documentation.
2013-07-31 05:32:26 -07:00
leandersikma
56d19dcc1c Wrong name of the login_base html file.
Changed rest_framework/base_login.html to rest_framework/login_base.html (which is the correct name the user should extends in their templates).
2013-07-30 11:26:17 +02:00
Stephan Groß
205c626d6e Add @jimr for #1013 thanks! 2013-07-29 15:53:26 +02:00
Tom Christie
02ef6d3bd7 Merge pull request #1013 from Maplecroft/doc_fixes
Clarification to authtoken docs
2013-07-29 02:27:05 -07:00
James Rutherford
195b1af7ba Minor typo fix 2013-07-29 10:16:51 +01:00
James Rutherford
1a4ff1567e Updated authtoken docs to mention south migrations 2013-07-29 10:16:15 +01:00
Tom Christie
856dc855c9 Notes on customizing BrowsableAPIRenderer. Refs #1001 2013-07-29 09:21:20 +01:00
Tom Christie
6a6b2c9318 Merge branch 'master' of https://github.com/tomchristie/django-rest-framework 2013-07-29 09:11:29 +01:00
Tom Christie
5c4bf5309d Docs about migrations and post_save.
Documentation detailing requirement to migrate prior to running `createsuperuser` if using an authtoken `post_save` signal.
Closes #987.  Thanks to @yprez.
2013-07-29 09:08:35 +01:00
Stephan Groß
e98c229e5a Add @coderigo for #1011 thanks! 2013-07-28 18:51:22 +02:00
Stephan Groß
f22efdc40f Merge pull request #1011 from coderigo/docs
Fix Tutorial5 serializers.py typo
2013-07-27 03:45:35 -07:00
Rodrigo Martell
3a898a11f7 Fix Tutorial5 serializers.py typo
[Issue #N/A]

A slight typo at Tutorial5 causing an Exception "name 'models' is
not defined". A subtle one that can confuse Python/Django noobs
like me.
2013-07-27 10:09:56 +10:00
Tom Christie
0e8a01e5de Merge pull request #1010 from kevin-brown/issue_1008
Fixed arguments in assertion
2013-07-26 08:25:03 -07:00
Kevin Brown
9088c18da8 Added to the credits 2013-07-26 11:03:37 -04:00
Kevin Brown
103fed9667 Fixed reversed arguments in assertion 2013-07-26 10:59:51 -04:00
Stephan Groß
0fa9866848 Add @willkg for #1007 thanks! 2013-07-26 09:26:32 +02:00
Stephan Groß
e7c0565b37 Merge pull request #1007 from willkg/throttle-docs-fix-1006
Fix *Throttle class names in the docs
2013-07-26 00:24:45 -07:00
Will Kahn-Greene
3fbb4097e6 Fix *Throttle class names in the docs
* AnonThrottle -> AnonRateThrottle
* UserThrottle -> UserRateThrottle
* ScopedThrottle -> ScopedRateThrottle
* (cosmetic) removed one errant whitespace character

Fixes #1006.
2013-07-25 12:56:47 -04:00
Stephan Groß
c23412b51c Add @pzinovkin for #995 thanks! 2013-07-24 11:02:10 +02:00
Stephan Groß
dbc8bddd74 Merge pull request #995 from pzinovkin/patch-1
Updated EmailField error message.
2013-07-24 02:00:30 -07:00