Mark Aaron Shirley
0876bed963
Merge remote-tracking branch 'upstream/master' into partial-update
2012-11-21 09:37:22 -08:00
Stephan Groß
9459289d7d
updated comparison due to pep8 programming recommendations
...
http://www.python.org/dev/peps/pep-0008/#programming-recommendations
2012-11-21 13:35:20 +01:00
Stephan Groß
6ba4df8a27
Merge remote-tracking branch 'upstream/master' into regex_field
...
Conflicts:
docs/topics/release-notes.md
2012-11-21 11:56:34 +01:00
Mark Aaron Shirley
3b43d41e91
Documentation changes for partial serializer updates
2012-11-20 15:57:54 -08:00
Tom Christie
3268c67343
Update docs/topics/release-notes.md
2012-11-20 23:33:56 +00:00
Tom Christie
8e8b23b6a9
Merge pull request #430 from j4mie/serializer-method-field
...
Serializer method field
2012-11-20 15:30:30 -08:00
Tom Christie
3227a357ce
Added @irrelative for the mighty fine work.
2012-11-20 23:19:11 +00:00
Stephan Groß
86484668f6
added RegexField
2012-11-20 15:38:50 +01:00
Jamie Matthews
5f4c385a86
Add example use of SerializerMethodField to docs
2012-11-20 13:25:21 +00:00
Tom Christie
a44a94dd6e
More docs tweaking.
2012-11-19 22:08:38 +00:00
Tom Christie
588e4dda6d
Added release notes
2012-11-19 21:49:07 +00:00
Tom Christie
83f3770af1
Adding folks to the credits makes me happy. Good work @jonlil!
2012-11-19 21:47:34 +00:00
Tom Christie
ce5b186ca8
Docs tweaks.
2012-11-19 21:42:33 +00:00
Jamie Matthews
3ab8c4966d
Tweaks to SerializerMethodField docs
2012-11-19 17:24:08 +00:00
Jamie Matthews
de5b071d67
Add SerializerMethodField
2012-11-19 17:22:17 +00:00
Robert Romano
f5f1ac49ec
Update robromano fork with upstream master
...
Conflicts:
docs/topics/credits.md
docs/topics/release-notes.md
2012-11-18 21:07:44 -08:00
Tom Christie
f131e533ed
Docs, docs, docs, docs, docs, docs
2012-11-18 17:57:07 +00:00
Tom Christie
346a79b170
Added @MechanisM - Thanks!
...
(That's a mighty kick ass Gravatar)
2012-11-17 00:29:15 +00:00
Eugene MechanisM
4068323df4
Missing import of "Permission" model in docs
...
Missing import of "Permission" model in docs
2012-11-17 04:03:43 +04:00
Tom Christie
2263ed8b94
Tweak
2012-11-16 23:24:36 +00:00
Tom Christie
0eba278e13
Improve pagination docs
2012-11-16 23:22:23 +00:00
Tom Christie
016ef5019f
Version 2.1.3
2012-11-16 22:58:22 +00:00
Tom Christie
e801e21210
Merge pull request #422 from markotibold/max_length_for_modelserializers
...
Max length for modelserializers
2012-11-16 14:54:16 -08:00
Tom Christie
19b0516bfe
Getting 2.1.3 release notes ready
2012-11-16 22:49:28 +00:00
Tom Christie
e40000c834
Merge pull request #408 from markotibold/file_and_image_fields
...
Added a FileField and an ImageField
2012-11-16 14:48:42 -08:00
Tom Christie
31f01bd631
Polishing to page size query parameters & more docs
2012-11-16 22:45:57 +00:00
Marko Tibold
f801e5d305
Simplified docs a bit for FileField and ImageField.
...
Added note about MultipartParser only supporting file uploads and Django's default upload handlers.
2012-11-16 23:44:55 +01:00
Marko Tibold
0076e2f462
Added brief docs for URLField and SlugField.
2012-11-16 23:23:34 +01:00
Tom Christie
9973cf329a
Merge pull request #412 from minddust/custom_page_size_per_request
...
support for custom page size per request
2012-11-16 13:45:27 -08:00
Tom Christie
2f2bde69e4
Docs, tox and travis use django-filter 0.5.4
2012-11-16 20:58:49 +00:00
Tom Christie
c5765641a4
Fix typo
2012-11-16 17:28:08 +00:00
Marko Tibold
b4cfb46a56
WIP on docs for File- and ImageFileds.
2012-11-16 00:22:08 +01:00
Stephan Groß
3ae203a018
updated script to just use page_size_kwarg
2012-11-15 12:06:43 +01:00
Stephan Groß
b17a981800
updated release noted for page_size stuff
2012-11-15 11:24:17 +01:00
Stephan Groß
38e94bb8b4
added global and per resource on/off switch + updated docs
2012-11-15 11:15:05 +01:00
Rob Romano
d541e0c423
Merge branch 'master' of https://github.com/robromano/django-rest-framework
...
Conflicts:
docs/api-guide/authentication.md
docs/topics/credits.md
2012-11-14 13:01:43 -08:00
Rob Romano
321ba156ca
Renamed AuthTokenView to ObtainAuthToken, added obtain_auth_token var, updated tests & docs. Left authtoken.urls in place as example.
2012-11-14 12:51:00 -08:00
Rob Romano
eb20b5663e
Added documentation on how to use the token authentication login view.
2012-11-14 12:48:03 -08:00
Tom Christie
0cfb27b40e
Merge pull request #407 from ludwigkraatz/location_header
...
Location header when Creating a Resource with HyperlinkedIdentityField
2012-11-14 10:42:08 -08:00
Stephan Groß
1e83b60a43
added description how to use the auth token
2012-11-14 18:00:59 +01:00
Stephan Groß
5967f15f7f
updated docs
2012-11-14 16:11:35 +01:00
Stephan Groß
33fe0d2bea
added release note
2012-11-14 16:08:14 +01:00
Ludwig Kraatz
8b999c6bb5
polishing code
...
and adding myself to auhtors file
2012-11-14 11:46:16 +01:00
Rob Romano
4fd590f96f
Renamed AuthTokenView to ObtainAuthToken, added obtain_auth_token var, updated tests & docs. Left authtoken.urls in place as example.
2012-11-13 16:49:13 -08:00
Rob Romano
d3ee5080a0
Added documentation on how to use the token authentication login view.
2012-11-13 15:03:42 -08:00
Tom Christie
957700ecfb
Remove OAuth2 from docs
2012-11-13 11:26:45 +00:00
Tom Christie
f9a9ff1db0
Newline
2012-11-10 17:04:31 +00:00
Tom Christie
ffb4fe66ce
Added @glic3rinu. Thanks!
2012-11-10 17:03:08 +00:00
Tom Christie
e224061189
Support for read_only_fields
on ModelSerializer
classes
2012-11-09 17:01:20 +00:00
Tom Christie
d365621cbe
Note django-filter installation
2012-11-09 16:44:39 +00:00
Tom Christie
8953a60196
Merge with master
2012-11-09 13:49:52 +00:00
Tom Christie
9aaeeacdfe
Minor docs tweak.
2012-11-09 13:39:40 +00:00
Tom Christie
71ef58e154
Typo
2012-11-09 13:17:00 +00:00
Tom Christie
3ac26af7ca
Version 2.1.2 (Adds filtering support)
2012-11-09 13:13:41 +00:00
Tom Christie
c7df9694b5
Merge pull request #383 from tomchristie/filtering
...
Support for filtering backends
2012-11-09 05:07:34 -08:00
Tom Christie
ff1234b711
Updated filteing docs.
2012-11-09 13:05:36 +00:00
Tom Christie
ad9c5d2ffa
Added @benkonrath, for his excellent work on filtering support. Thank you!
2012-11-08 21:49:38 +00:00
Tom Christie
bc6f2a1703
Make default FILTER_BACKEND = None
2012-11-08 21:46:53 +00:00
Tom Christie
0089f0faa7
Add media_type to example file parser
2012-11-08 20:43:23 +00:00
Tom Christie
f5ce7152ec
Tweak note style
2012-11-08 15:59:22 +00:00
Tomi Pajunen
40c6fe7119
Comments updated
2012-11-08 17:04:29 +02:00
Tomi Pajunen
b607eefc7c
Release notes updated
2012-11-08 16:48:16 +02:00
Tom Christie
34c5fb0cc6
Add filtering into documentation
2012-11-07 21:28:10 +00:00
Tom Christie
47b534a13e
Make filtering optional, and pluggable.
2012-11-07 21:07:24 +00:00
Tom Christie
0356c5dca4
Update release notes
2012-11-07 11:34:31 +00:00
Stephan Groß
e02a8470e8
fixed typo
2012-11-06 21:18:49 +01:00
Stephan Groß
4136b7e44b
fixed typo in html status code
2012-11-06 21:11:05 +01:00
Stephan Groß
62fc5b80ef
fixed field name
2012-11-06 20:54:48 +01:00
Stephan Groß
1f67b9ba9c
added changelog entry and fixed old one
2012-11-06 20:53:09 +01:00
Tom Christie
6d3bb67aa6
Add pk_url_kwarg to hyperlinked fields
2012-11-06 17:11:52 +00:00
Tom Christie
12b86cb5e3
Update release notes
2012-11-06 17:05:15 +00:00
Stephan Groß
2c52a2581f
added slug support for HyperlinkedIdentityField
2012-11-06 17:02:34 +01:00
Tom Christie
4f5a6fca64
Added @tonimichel. Thanks!
2012-11-06 11:04:27 +00:00
Tom Christie
b19c58ae17
Support for HTML error templates. Fixes #319 .
2012-11-06 10:44:19 +00:00
Tom Christie
455a8cedcf
Tweaks
2012-11-05 17:03:22 +00:00
Tom Christie
9746abdf72
Version 2.1.0. Adding release notes.
2012-11-05 16:46:33 +00:00
Tom Christie
1418d104a8
Tweak related field docs now that queryset is no longer required.
2012-11-05 16:44:26 +00:00
Tom Christie
9731b95fc3
Merge pull request #347 from minddust/master
...
support for passing custom slug options to HyperlinkedRelatedField
2012-11-05 08:36:59 -08:00
Tom Christie
b87f01aa54
Merge pull request #371 from tomchristie/serializer-fixes
...
Serializer fixes
2012-11-05 08:35:54 -08:00
Stephan Groß
85b176cf47
added docs
2012-11-05 16:51:49 +01:00
Tom Christie
33217db33e
Fix broken link
2012-11-05 15:39:03 +00:00
Tom Christie
558b29e5ff
Added @mjs7231 - Thanks!
2012-11-05 15:38:22 +00:00
Tom Christie
33be4b43b9
queryset
argument is now optional on writable model fields.
2012-11-05 12:51:04 +00:00
Tom Christie
b7b942c599
Swap position of instance
and data
keyword arguments.
2012-11-05 10:53:20 +00:00
Tom Christie
362c413f08
Update release notes.
2012-11-05 09:59:35 +00:00
Tom Christie
a4ab4355a6
Added @osiloke. Thanks!
2012-11-05 09:59:35 +00:00
Tom Christie
3e0319389a
Added @jmagnusson. Thanks!
2012-11-04 09:45:30 +00:00
Tom Christie
59c1e0933f
Update release notes
2012-11-02 21:13:29 +00:00
Tom Christie
b9bff2a984
Fix issues with pk related fields in the browsable API.
2012-11-02 14:05:14 +00:00
Tom Christie
062f5caef3
Tweaks fields docs, and fix 2.0.1 version.
2012-11-01 23:40:34 +00:00
Tom Christie
09d70958bd
Update release notes
2012-11-01 23:15:42 +00:00
Tom Christie
36e21153fb
Merge master
2012-11-01 23:11:28 +00:00
Tom Christie
d327c5f531
Relational field support in browseable API.
...
Add slug relational fields.
Add quickstart.
2012-11-01 23:04:13 +00:00
Tom Christie
600289a815
Added @ottoyiu. Thanks!
2012-11-01 13:31:22 +00:00
Tom Christie
aa779598aa
Merge pull request #352 from asfaltboy/cleanup_MultipleObjectBaseView
...
cleanup MultipleObjectBaseView remains
2012-11-01 06:12:16 -07:00
Pavel Savchenko
9a0cc7c720
since MultipleObjectBaseView was renamed MultipleObjectAPIView, it stands to reason to complete the renaming in docs and comments as well.
2012-11-01 15:06:11 +02:00
Otto Yiu
96dc9ce1ad
Fixing documentation on auth/throttling guides
2012-10-31 21:27:21 -07:00
Tom Christie
027c9079f6
PUT as create should return 201. Fixes #340 .
2012-10-31 20:11:38 +00:00
Tom Christie
3a99170a73
Merge pull request #345 from minddust/master
...
minor docs fix
2012-10-31 04:02:50 -07:00
Stephan Groß
de2ef5d9c2
fixed typo
2012-10-31 11:12:09 +01:00
Tom Christie
4b2139c91a
Merge pull request #344 from minddust/master
...
minor docs fix
2012-10-31 02:45:23 -07:00
Stephan Groß
7f7f0b6ffb
added missing semicolon
2012-10-31 10:41:56 +01:00
Tom Christie
ecc55ca8f4
Added @asfaltboy. Thanks!
2012-10-31 09:39:32 +00:00
Pavel Savchenko
a3ace366db
using 'pk' in fields throws KeyError
...
add missing imports
Browsable API seems to be working fine with FBV's (2.0.0)
removing snippets from the URI doesn't make sense
remain consistent in using SnippetDetail
2012-10-31 00:37:30 +02:00
Tom Christie
166025c0fc
Package and doc tweaks
2012-10-30 14:48:48 +00:00
Tom Christie
4e7805cb24
Make docs ready to push to django-rest-framework.org
2012-10-30 14:18:23 +00:00
Tom Christie
a13aaea78d
Merge pull request #341 from minddust/restframework2
...
fix ModelSerializer useage
2012-10-30 07:06:53 -07:00
Tom Christie
4cdd0b845e
Final docs tweaks for 2.0
2012-10-30 13:59:31 +00:00
Stephan Groß
3216ac0224
added missing word + removed double whitespace
2012-10-30 14:53:38 +01:00
Stephan Groß
aa081678d5
added missing word
2012-10-30 14:38:23 +01:00
Stephan Groß
a967187b41
fixed typo
2012-10-30 14:36:37 +01:00
Stephan Groß
abf7f11619
fixed typo
2012-10-30 14:11:36 +01:00
Stephan Groß
bcfb46eedc
removed empty row
2012-10-30 14:02:12 +01:00
Stephan Groß
9aa3726009
fix ModelSerializer useage
...
cause of:
from snippets.models import Snippet
2012-10-30 13:50:07 +01:00
Tom Christie
41ab18b13e
Docs update
2012-10-30 12:23:17 +00:00
Tom Christie
29bc52096a
Docs tweaks for tutorial.
2012-10-30 11:55:02 +00:00
Tom Christie
5f0d4ef2fc
Update browser enhancments docs. Fixes #339 .
2012-10-30 10:30:51 +00:00
Tom Christie
cf77fd6964
Tweak
2012-10-29 09:10:14 +00:00
Tom Christie
076ca51d6f
Added @minddust. Thanks!
2012-10-29 08:53:12 +00:00
Stephan Groß
5865842019
fixed api_view decorator useage
2012-10-29 09:32:11 +01:00
Stephan Groß
2de89f2d53
remove empty rows
2012-10-29 09:29:45 +01:00
Stephan Groß
ff4804a360
fix api_view decorator useage
2012-10-29 09:25:17 +01:00
Stephan Groß
73cf859e26
add missing whitespace
2012-10-29 09:23:25 +01:00
Stephan Groß
741b387f35
fixed missplaced semicolon
2012-10-29 09:22:20 +01:00
Stephan Groß
5164f5d797
fixed missplaced semicolon
2012-10-29 09:21:27 +01:00
Stephan Groß
46e546ff23
fixed missplaced semicolon
2012-10-29 09:20:14 +01:00
Stephan Groß
72f3a7e4a7
add missing semicolon
2012-10-29 09:13:56 +01:00
Stephan Groß
842c8b4da4
add missing "`" for code formatting
2012-10-29 09:12:21 +01:00
Stephan Groß
8d2774dc97
fixed api_view decorator useage
2012-10-29 09:07:42 +01:00
Stephan Groß
c6240f4514
removed empty row
2012-10-29 08:58:29 +01:00
Stephan Groß
76db7d4c59
correct code indent
2012-10-29 08:54:14 +01:00
Tom Christie
0c71b4c100
Tweaks
2012-10-28 21:16:04 +00:00
Tom Christie
411c95ea0e
Tweaks
2012-10-28 20:54:12 +00:00
Tom Christie
bdd939f1f3
Remove unfinished sections from the index
2012-10-28 20:50:51 +00:00
Tom Christie
f2d6346776
Add initial explanatory paragraph
2012-10-28 20:50:37 +00:00
Tom Christie
351382fe35
nested -> depth
2012-10-28 20:43:43 +00:00
Tom Christie
6e4ab09aae
readonly -> read_only
2012-10-28 20:21:45 +00:00
Tom Christie
795f611663
Merge pull request #332 from tomchristie/tutorial-refactor
...
Improve fields docs
2012-10-28 13:18:51 -07:00
Tom Christie
3906ff0df5
Improve fields docs
2012-10-28 20:18:02 +00:00
Tom Christie
3d3df22d82
Merge pull request #330 from tomchristie/tutorial-refactor
...
Tutorial refactor
2012-10-28 12:42:10 -07:00
Tom Christie
db635fa632
Minor fixes
2012-10-28 19:37:27 +00:00
Tom Christie
fde79376f3
Pastebin tutorial
2012-10-28 19:25:51 +00:00
Tom Christie
12c363c1fe
TemplateHTMLRenderer, StaticHTMLRenderer
2012-10-28 18:12:56 +00:00
Tom Christie
d995742afc
Add AllowAny permission
2012-10-27 20:04:33 +01:00
Tom Christie
51a6401926
Added @madisvain. Thanks!
2012-10-27 18:47:17 +01:00
Tom Christie
cef379db06
2.0 Announcement
2012-10-27 18:39:17 +01:00
Tom Christie
ec1429ffc8
Tweaks
2012-10-27 17:27:12 +02:00
Jamie Matthews
5180b72565
Documentation for function-based view decorators
2012-10-27 13:53:07 +01:00
Tom Christie
c221bc6f6f
Use context dict in HTMLRenderer
2012-10-26 17:30:45 +02:00
Tom Christie
d4063eb02e
Fix incorrect method signature in docs
2012-10-26 12:46:31 +01:00
Tom Christie
365d20652e
Add analytics
2012-10-26 09:30:46 +01:00
Tom Christie
195006bbc3
Drop resources from codebase since implementation is only partial (Created resoorces-routers branch for future reference)
2012-10-26 09:27:59 +01:00
Tom Christie
c7a916a979
Merge branch 'restframework2' of https://github.com/tomchristie/django-rest-framework into restframework2
2012-10-25 17:01:37 +01:00
Tom Christie
04ae32c934
remove no-site-packages since that's now the default
2012-10-25 17:01:00 +01:00
Jamie Matthews
41d27b1a30
Fix section headings in generic views docs
2012-10-25 14:22:36 +01:00
Jamie Matthews
1ceca69e5f
Update generic view documentation
2012-10-25 13:50:48 +01:00
Tom Christie
0aed70dc8b
Added @diviei - Thanks!
2012-10-24 20:50:45 +02:00
Tom Christie
d97c712124
Fix typo reported by @diviei
2012-10-24 20:49:09 +02:00
Jamie Matthews
d60d598e02
Clean up internal names and documentation
2012-10-24 11:43:30 +01:00
Jamie Matthews
ac2d39892d
Add cross-field validate method
2012-10-24 11:39:17 +01:00
Jamie Matthews
388a807f64
Switch from clean_<fieldname> to validate_<fieldname>, clarify documentation
2012-10-24 11:27:01 +01:00
Jamie Matthews
51fae73f3d
Implement per-field validation on Serializers
2012-10-24 09:28:10 +01:00
Marko Tibold
aba0172f5c
Update docs/api-guide/fields.md
...
Fix typo.
2012-10-22 21:31:15 +03:00
Tom Christie
95a670de41
Merge field changes: .default and .widget
2012-10-22 15:24:09 +01:00
Tom Christie
13d0a82939
Minor docs tweaks
2012-10-21 17:40:49 +01:00
Marko Tibold
65d4970bf7
Changed IsAdmin -> IsAdminUser in example
2012-10-21 16:34:50 +02:00
Marko Tibold
71a93930fd
Fixing spelling errors.
2012-10-21 16:34:07 +02:00
Tom Christie
efabd2bb1b
docs, docs, docs, docs, docs, docs, docs
2012-10-19 19:59:55 +01:00
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
b78872b7db
Use two seperate exceptions - AuthenticationFailed
, and NotAuthenticated
...
Cleaner seperation of exception and resulting HTTP response.
Should result in more obvious error messages.
2012-10-17 15:23:36 +01:00
Tom Christie
a4d500ba10
Use correct status code
2012-10-17 15:10:11 +01:00
Tom Christie
5ae49a4ec4
Add docs for 401 vs 403 responses
2012-10-17 14:59:53 +01:00
Tom Christie
4c17d1441f
Add Unauthenticated
exception.
2012-10-17 14:59:37 +01:00
Tom Christie
bd8360c826
Highlight use of permissions alnog with authentication
2012-10-17 14:02:30 +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
Tom Christie
f204439fa8
Merge branch 'browsable-bootstrap' of https://github.com/droptype/django-rest-framework into droptype-browsable-bootstrap
2012-09-14 12:52:12 +01:00
Tom Christie
eb761be9d0
Flesh out resources/routers part of tutorial
2012-09-14 12:43:14 +01:00
Tom Christie
886f8b4751
Tweak throttles and improve docs
2012-09-14 08:54:58 +01:00
Tom Christie
3005079824
Drop GitHub button from docs on small screens
2012-09-13 18:39:08 +01:00
Tom Christie
d8b5d6603e
Tweak copy
2012-09-13 18:35:06 +01:00
Tom Christie
6c109ac60f
Improve throttles and docs
2012-09-13 18:32:56 +01:00
Tom Christie
b16c45aa6d
Tweak throttling/permissions/auth docs
2012-09-13 09:39:16 +01:00
Tom Christie
003a65f0e0
Tweaks to Token auth
2012-09-12 20:39:22 +01:00
Tom Christie
dac4cb9e8b
GitHub link in toolbar
2012-09-12 13:11:26 +01:00
Tom Christie
c85f799ade
Updating docs
2012-09-12 10:12:13 +01:00
Alec Perkins
4cbc53a75d
Whoops, forgot to explain these.
2012-09-09 17:27:24 -04:00
Alec Perkins
9684b3fe22
Reference-style links. Much cleaner.
2012-09-09 17:07:54 -04:00
Alec Perkins
60e6bba12b
Browsable API doc topic
2012-09-09 17:02:19 -04:00
Tom Christie
d4f8b4cf06
Collapsing menu, travis and github badges, horizontal scrolling code on overflow
2012-09-09 16:56:04 +01:00
Tom Christie
baa6e2c18b
Hide toc overflow
2012-09-08 22:31:44 +01:00
Tom Christie
b5e07abc15
Move quote below title for consistency
2012-09-08 22:13:11 +01:00
Tom Christie
247696e820
Links to source files in docs
2012-09-08 22:06:13 +01:00
Tom Christie
5d9dfcd8ae
Code highlighting in docs
2012-09-08 20:23:32 +01:00
Tom Christie
382b277dfc
Link to github accounts in credits
2012-09-08 08:41:31 +01:00
Tom Christie
79144919f6
Added @alecperkins.
2012-09-08 08:38:14 +01:00
Tom Christie
8f119a8c34
Merge pull request #253 from droptype/rf2-docfixes
...
Fixes for the documentation styles
2012-09-07 15:25:58 -07:00
Tom Christie
80c50bfd2d
Merge pull request #252 from markotibold/docs-fixes
...
Some minor docs fixes
2012-09-07 14:12:32 -07:00
Marko Tibold
8ee763739d
Add some missing imports.
...
Fix some typos.
Fix some indentation errors.
2012-09-07 22:53:02 +02:00
Mjumbe Wawatu Poe
8df71f4d1d
Get rid of the BaseToken abstract model
2012-09-07 16:19:15 -04:00
Mjumbe Wawatu Poe
f741cdae44
Move TokenAuthentication class into djangorestframework.authentication
2012-09-07 16:15:33 -04:00
Alec Perkins
f95f96aba7
[docs] Fix typo, add link to Tom's Twitter profile
2012-09-07 14:31:24 -04:00
Mjumbe Wawatu Poe
3b1404bd7d
Rename the default token class to "BasicToken"
2012-09-07 14:23:53 -04:00