Tom Christie
1acbc29d58
Minor style tweak. [ci skip]
2016-07-27 15:39:46 +01:00
Alexander Gaevsky
46a870c002
Fix schema generation for APIView, since it does not have get_serializer_class method. ( #4285 )
2016-07-27 15:36:36 +01:00
Tom Christie
3586c8a61a
Set view.format_kwarg in schema generator ( #4315 )
2016-07-27 14:43:45 +01:00
Tom Christie
8ebf81b150
Schema support should function when 'pagination_class = None' ( #4314 )
2016-07-27 13:02:48 +01:00
Tom Christie
351e0a4a99
Fix json indent parameter. Closes #4281 ( #4313 )
2016-07-27 11:49:01 +01:00
Tom Christie
f9df0dc965
Merge branch 'master' of github.com:tomchristie/django-rest-framework
2016-07-26 16:45:37 +01:00
Tom Christie
19b415ec25
Improve pagination docs. Refs #4304 [ci skip]
2016-07-26 16:45:27 +01:00
Tom Christie
5d3b56f957
Test case for #4272 ( #4310 )
...
* Test case for #4272
2016-07-26 16:28:10 +01:00
Sassan Haradji
f0f61aa077
use verbose_name instead of object_name in field_mapping ( #4299 )
...
* use verbose_name instead of object_name in error messages
2016-07-26 15:12:51 +01:00
Asif Saifuddin Auvi
b63099084f
twitter bootstrap minor update ( #4307 )
...
* updated bootstrap min css to 3.3.7
* updated bootstrap min javascript to 3.3.7
2016-07-26 14:09:04 +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
Andi Albrecht
3ca0b15b17
Restore meta information for each search field. ( #4298 )
...
The meta information stored in opts needs to be restored for
each search field. Otherwise it references the wrong model
when an attribute of a related model comes before an attribute
of the original model in search fields. This doesn't apply to
m2m relations since must_call_distinct returns True in that
case.
2016-07-26 11:07:03 +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
Xavier Ordoquy
0f61c9ec29
Merge pull request #4286 from osantana/patch-1
...
Fix SwaggerRenderer implementation example
2016-07-19 19:39:48 +02:00
Osvaldo Santana Neto
02a81d3362
Fix SwaggerRenderer implementation example
2016-07-19 14:15:49 -03:00
Xavier Ordoquy
6d4ada05ec
Merge pull request #4283 from auvipy/up
...
updated minor django versions
2016-07-19 10:46:52 +02:00
Asif Saifuddin Auvi
71cdda9399
updated minor django versions
2016-07-19 11:31:29 +06:00
Philippe Ombredanne
e476c222f9
Add LICENSE.md to the built wheel ( #4270 )
...
The wheel released on Pypi does not include the license file .
The way to do this is by updating the setup.cfg accordingly
2016-07-18 16:08:44 +01: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
Xavier Ordoquy
6b713207d2
Merge pull request #4273 from aaugustin/issue-4272
...
Add missing return statement.
2016-07-17 13:54:18 +02:00
José Padilla
ad9c96ebe2
Merge pull request #4269 from glarrain/patch-1
...
docs.settings: fix name of `VERSION_PARAM`
2016-07-16 18:27:15 -04:00
Aymeric Augustin
a436515196
Add missing return statement.
...
Fix #4272 .
2016-07-16 22:44:49 +02:00
Germán Larraín
1a65f72f71
docs.settings: fix name of VERSION_PARAM
2016-07-15 14:34:27 -04:00
Xavier Ordoquy
91aad9299b
Merge pull request #4263 from anoopmalav/master
...
Fix Typo in index.md
2016-07-14 20:01:09 +02: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
70e4a43ae3
Update coreapi requirement
2016-07-14 12:56:57 +01:00
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
549210b50f
Don't strip microseconds in JSON output. ( #4256 )
2016-07-11 14:34:23 +01:00
Tom Christie
7bfa5a9141
Merge branch 'master' of github.com:tomchristie/django-rest-framework
2016-07-11 13:49:21 +01:00
Tom Christie
321c060dbe
Resolve incorrect media type ( #4254 )
2016-07-11 12:04:11 +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
cobaltchang
b04bd8618c
Fix the error without specified encoding when compiling ( #4246 )
...
Fix setup.py error on some platforms
2016-07-05 15:36:52 +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