Tom Christie
0c65d9babe
Merge pull request #304 from tomchristie/consitent_settings
...
Make settings consistent with corrosponding view attributes
2012-10-18 04:46:01 -07:00
Tom Christie
e8f542aac8
Minor docs fix
2012-10-18 09:19:38 +01:00
Tom Christie
fed235dd01
Make settings consistent with corrosponding view attributes
2012-10-17 23:09:11 +01:00
Tom Christie
e126b61542
Negotiation API finalized. .select_renderers and .select_parsers
2012-10-17 22:58:18 +01:00
Tom Christie
fb56f215ae
Added media_type
to .parse()
- Consistency with renderer API.
2012-10-17 22:39:07 +01:00
Tom Christie
4231995fbd
parser_context includes view
, request
, args
, kwargs
. (Not meta
and upload_handlers
)
...
Consistency with renderer API.
2012-10-17 22:19:59 +01:00
Tom Christie
99d48f9003
Drop .parse_string_or_stream() - keep API minimal.
2012-10-17 22:07:56 +01:00
Tom Christie
6717d654d0
Added @rdobson. Thanks!
2012-10-17 21:57:34 +01:00
Tom Christie
cab4a2a5ad
Split up doc sections more cleanly
2012-10-17 15:41:57 +01:00
Tom Christie
b5daa40852
Docs tweaks
2012-10-17 13:51:22 +01:00
Tom Christie
75ebf895ac
Added @eofs. Thanks!
2012-10-17 13:51:22 +01:00
Tom Christie
9c1fba3483
Tweak parsers to take parser_context
2012-10-15 13:27:50 +01:00
Jens Alm
c942726509
Added docs, integer fields and refactored models.TextField to use CharField
...
I realized that per the django forms, there is no need for a separate
TextField, an unlimited CharField is perfectly good.
Also added default field for the different IntegerField types
2012-10-15 13:46:44 +02:00
Tom Christie
41dd63b3b0
Merge branch 'restframework2' of https://github.com/tomchristie/django-rest-framework into restframework2
2012-10-14 22:43:41 +01:00
Tom Christie
551c86c43a
Documentation for parsers
2012-10-14 22:43:07 +01:00
Tom Christie
7a89d7a770
Work on docs
2012-10-14 20:46:38 +01:00
Tom Christie
27b8904ffe
Fix typo
2012-10-13 23:28:05 +02:00
Tom Christie
b3477b3b6c
Docs tweaks
2012-10-13 15:34:38 +01:00
Tom Christie
fe5db41949
Fix typo
2012-10-13 15:12:44 +01:00
Tom Christie
e4f43be47f
Merge pull request #293 from tomchristie/request-documentation
...
Improve documentation for Requests
2012-10-13 07:10:12 -07:00
Tom Christie
7608cf1193
Improve documentation for Requests
2012-10-13 15:07:43 +01:00
Jamie Matthews
7367bd53a9
Fix tiny typo
2012-10-12 10:02:21 +02:00
Tom Christie
648d2be29b
Make sure JSON output in Browseable API is nicely indented
2012-10-10 12:15:18 +01:00
Tom Christie
ccd2b0117d
Permissions and throttles no longer have a view attribute on self. Explicitly passed to .has_permissions(request, view, obj=None) / .allow_request(request, view)
2012-10-10 10:02:37 +01:00
Tom Christie
44281c3996
Remove 'tut 6 - resources' from the docs, since it doesn't exist yet
2012-10-10 09:36:18 +01:00
Tom Christie
9bbc1cc403
Add flag in get_related_field
2012-10-09 17:49:04 +01:00
Tom Christie
b0c370dd2b
Fixed couple of incorrect imports in the docs
2012-10-09 17:36:03 +01:00
Tom Christie
52a2ff8f77
Docs tweaks
2012-10-09 16:44:49 +01:00
Tom Christie
97a7f27c82
Rename HTMLTemplateRenderer -> HTMLRenderer, DocuemntingHTMLRenderer -> BrowseableAPIRenderer
2012-10-09 15:58:48 +01:00
Tom Christie
ce21fa1dc6
Tweak static files with docs
2012-10-09 14:12:38 +01:00
Tom Christie
94401b43d2
Flesh out quickstart guide and make some style tweaks
2012-10-09 13:50:26 +01:00
Tom Christie
7c4d50f621
Fix browseable API form display error for authenticated permissions
2012-10-09 12:48:49 +01:00
Tom Christie
e9475d036f
Tweak settings in quickstart guide
2012-10-09 12:03:29 +01:00
Tom Christie
115e61be09
Added quickstart guide
2012-10-09 12:01:17 +01:00
Tom Christie
65f592866c
Fix issue where required fields were not being properly validated. Also make model fields with a default value be not required
2012-10-08 17:53:18 +01:00
Tom Christie
b581ffe323
Docs tweaks
2012-10-08 15:46:52 +01:00
Tom Christie
9ade21c793
Fix broken docs reference
2012-10-08 14:26:42 +01:00
Tom Christie
f79ed6175d
Add RetrieveDestroyAPIView and remove Metadata mixin
2012-10-08 14:13:15 +01:00
Tom Christie
4fd8ab17a3
Merge branch 'restframework2' of https://github.com/tomchristie/django-rest-framework into restframework2
2012-10-08 12:18:43 +01:00
Tom Christie
f4d4d54e03
Adding migration and changelog docs
2012-10-08 12:17:43 +01:00
Tom Christie
321d4d030a
Added @mattbo, @maximilianhurl. Thanks!
2012-10-07 21:30:06 +02:00
Tom Christie
6b6c945d4e
Fix up media-specific doc styling issues
2012-10-06 20:05:36 +01:00
Tom Christie
fd1b660e06
DabApps, not Dab Apps
2012-10-05 19:33:13 +01:00
Tom Christie
9bc4aead65
Tweak fields docs
2012-10-05 19:26:57 +01:00
Tom Christie
0b08d25297
Merge branch 'restframework2' of https://github.com/tomchristie/django-rest-framework into restframework2
2012-10-05 19:26:45 +01:00
Tom Christie
268131ce37
Add serializer fields documentation
2012-10-05 17:10:07 +01:00
Tom Christie
4e7fffa993
Merge pull request #284 from maximilianhurl/doc-styles
...
Added sticky footer and styles to HTML API page
2012-10-05 09:04:17 -07:00
Tom Christie
cc21948a69
Fix django 1.3 bug
2012-10-05 17:02:33 +01:00
Max Hurl
101f06b50b
Added dabapps styling to html api
2012-10-05 17:00:24 +01:00
Max Hurl
bdbf988781
Added sticky footer to docs
2012-10-05 16:32:41 +01:00
Tom Christie
272fddc952
Fix bug in format suffix patterns
2012-10-05 15:37:50 +01:00
Tom Christie
9ac6fcf19c
Add favicon to docs
2012-10-05 15:26:15 +01:00
Tom Christie
84958d131a
Doc style tweaks
2012-10-05 15:22:30 +01:00
Tom Christie
3e862c7737
Tweak view slightly
2012-10-05 14:22:02 +01:00
Tom Christie
6a15556384
Docs tweaks
2012-10-05 14:00:02 +01:00
Tom Christie
1a09983dfc
Tweak doc headings
2012-10-05 13:51:09 +01:00
Tom Christie
2455bebd87
Merge pull request #282 from tomchristie/html-template-responses
...
Html template responses
2012-10-05 05:11:17 -07:00
Tom Christie
61a6d0c109
Fix travis build image in docs
2012-10-05 13:09:10 +01:00
Tom Christie
2575ea92aa
Docs for template responses
2012-10-05 13:04:34 +01:00
Max Hurl
5fd6d87a93
Added JS version numbers
2012-10-05 12:43:35 +01:00
Max Hurl
f70a5edc1f
Added dabapps styles and general improvements to docs
2012-10-05 12:29:53 +01:00
Tom Christie
26c7d6df6c
HTMLTemplateRenderer working
2012-10-05 12:13:44 +01:00
Tom Christie
d07dc77e91
Accepted media type uses most specific of client/renderer media types.
2012-10-05 10:23:47 +01:00
Tom Christie
bcd2caf559
Abstract out the app_label on test models
2012-10-04 09:18:46 +01:00
Tom Christie
d8b05201ed
Merge branch 'restframework2' of https://github.com/tomchristie/django-rest-framework into restframework2
2012-10-03 09:46:12 +01:00
Tom Christie
c30e0795be
Rename generic views
2012-10-03 09:26:15 +01:00
Matt Bosworth
934492ebd0
Fixed references to serializer.serialized and serializer.serialized_errors
...
in part 3 of the tutorial. Altered part 1 to use blogs/urls.py since it was
specified at the beginning. Also caught some spelling errors while I was at it.
2012-10-02 22:41:03 -07:00
Tom Christie
b89125ef53
Update view docs slightly
2012-10-02 21:26:15 +01:00
Tom Christie
e1518de68f
Merge branch 'restframework2' of https://github.com/tomchristie/django-rest-framework into restframework2
2012-10-02 19:54:24 +01:00
Tom Christie
31b06f1721
Cleaner travis image link
2012-10-02 19:54:20 +01:00
Tom Christie
ab173fd8f9
Fix bug where pk could be set in post data
2012-10-02 15:37:13 +01:00
Tom Christie
e7685f3eb5
URL overrides in settings fixed up slightly
2012-10-02 15:24:42 +01:00
Tom Christie
8855a462c6
Clean up docs slightly
2012-10-02 11:48:25 +01:00
Tom Christie
b526b82abf
Placeholder for FBV docs
2012-10-02 11:04:06 +01:00
Tom Christie
34637bf857
Make example more realistic and less of a toy
2012-10-02 11:03:51 +01:00
Tom Christie
ae8a827004
Make 'results_field' attribute of BasePaginationSerializer public.
2012-10-02 10:40:43 +01:00
Tom Christie
2284e592de
Clean up reverse docs slightly
2012-10-02 10:40:04 +01:00
Tom Christie
a8f6ac3f3a
Renderer documentation
2012-10-02 10:39:28 +01:00
Tom Christie
dae6d09398
Add example of using paginator in a view
2012-10-01 16:27:22 +01:00
Tom Christie
8d1d990187
Pagination docs
2012-10-01 16:17:01 +01:00
Tom Christie
b16fb57771
Expand pagination support, add docs
2012-10-01 15:49:19 +01:00
Tom Christie
43d3634e89
Docs tweaking
2012-09-30 15:55:24 +01:00
Tom Christie
aeeb68f68a
Added @j4mie, and added projects to 'additional thanks' as appropriate.
2012-09-28 10:42:14 +01:00
Tom Christie
ee36e4ab0c
Only display forms when user has permissions. #159
2012-09-27 21:51:46 +01:00
Tom Christie
8582b18ac4
Added @cyberj. Thanks!
2012-09-27 14:29:14 +02:00
Tom Christie
89a0b22306
Merge branch 'restframework2' of https://github.com/tomchristie/django-rest-framework into restframework2
2012-09-27 13:06:34 +01:00
Tom Christie
061cffb67b
Added citation to contributing docs
2012-09-27 12:49:08 +01:00
Tom Christie
da1f6df4fa
Added @LaundroMat. Thanks!
2012-09-26 23:07:59 +02:00
Tom Christie
0cc7030aab
Fix @api_view decorator tests
2012-09-26 21:47:19 +01:00
Tom Christie
6fc5581a8f
Add readonly 'id' field
2012-09-25 13:40:16 +01:00
Tom Christie
4fb57d28e6
Add csrf note
2012-09-25 12:27:46 +01:00
Tom Christie
921c5840aa
Fix incorrect bit of tutorial
2012-09-25 12:21:35 +01:00
Tom Christie
4b691c4027
Change package name: djangorestframework -> rest_framework
2012-09-20 13:06:27 +01:00
Tom Christie
db13401af0
Added @phobologic. Thanks\!
2012-09-19 17:06:43 +01:00
Tom Christie
575630d7c3
Use named links in tutorial docs
2012-09-19 13:02:10 +01:00
Tom Christie
5611769162
Merge branch 'restframework2' of https://github.com/tomchristie/django-rest-framework into restframework2
2012-09-17 20:20:27 +01:00
Tom Christie
308677037f
Tweak docs, fix .error_data -> .errors
2012-09-17 20:19:45 +01:00
Alec Perkins
43c2a15f9d
Prevent the touchstart event propagation on the dropdown menus in the navbar.
...
This allows the dropdowns to be used on a touch device.
2012-09-17 10:01:44 -04:00
Tom Christie
a96211d3d1
Simplify negotiation. Drop MSIE hacks. Etc.
2012-09-16 21:48:55 +01:00
Tom Christie
a5213d4023
Drop urlobject2
2012-09-14 13:24:13 +01:00