Tom Christie
3fff5cb6e0
Fix empty HTML values when a default is provided.
2014-12-17 15:13:48 +00:00
Tom Christie
f5b783af61
allow_blank in ChoiceField. Refs #2239 .
2014-12-09 14:21:31 +00:00
Tom Christie
6ac79b8223
Document Field.fail(). Closes #2147 .
2014-12-02 09:19:59 +00:00
Tom Christie
8e549a76ea
Add 2.x notes and links
2014-11-28 14:26:03 +00:00
Tom Christie
e1b14cbe4a
3.0 docs for serializer fields
2014-11-26 10:27:29 +00:00
Tom Christie
c01c631ef2
perform_create, perform_update, perform_destroy hooks
2014-11-26 09:04:48 +00:00
Tom Christie
31536566d7
Updating fields docs
2014-11-25 17:35:27 +00:00
Tom Christie
f13c0ebe69
Merge master
2014-11-25 16:27:00 +00:00
Tom Christie
8c91e7b742
Add missing options
2014-11-25 15:52:13 +00:00
José Padilla
16d442dda3
Use MkDocs meta.source to render source code links
2014-11-25 12:44:11 +00:00
Craig de Stigter
dfab9af294
Minor: fix spelling and grammar, mostly in 3.0 announcement
2014-10-03 08:41:18 +13:00
Tom Christie
4fceceae7d
DecimalField documentation
2014-09-12 20:09:08 +01:00
Federico Capoano
8e3f7700f6
docs: added drf-hstore to third party fields
...
added a reference to django-rest-framework-hstore in docs/api-guide/fields.md
2014-08-25 12:29:10 +02:00
Tom Christie
e385a7b8eb
Merge master
2014-08-19 10:11:10 +01:00
Tom Christie
6edbabe0e1
Link to Django docs on widgets. Closes #1760 .
2014-08-18 10:58:00 +01:00
Federico Capoano
5eb901cd2a
docs: added reference to DRF-gis in fields
...
added django-rest-framework-gis to third party packages section in /docs/api-guide/fields.md
2014-08-08 14:25:02 +02:00
Xavier Ordoquy
4876bec9f5
Merge remote-tracking branch 'origin/master' into 2.4.0
...
Conflicts:
rest_framework/fields.py
2014-07-26 00:06:56 +02:00
Tom Christie
299a8347e8
Merge pull request #1692 from davbo/patch-1
...
Update fields.md
2014-07-22 15:59:04 +02:00
Tom Christie
81d15aa9be
Add link to drf-extra-fields. Closes #1698
2014-07-20 15:45:45 +01:00
Dave King
680fabe9dd
Update fields.md
...
obj.__class__ will return the actual Class object, we want to serialise a string (accessed with obj.__class__.__name__)
2014-07-17 11:46:59 +01:00
Xavier Ordoquy
2489e38a06
Merge remote-tracking branch 'origin/master' into 2.4.0
...
Conflicts:
.travis.yml
docs/api-guide/viewsets.md
rest_framework/serializers.py
rest_framework/throttling.py
tests/test_generics.py
tests/test_serializers.py
tox.ini
2014-06-23 14:02:45 +02:00
Ian Foote
1e7b5fd2c0
Document ChoiceField blank_display_value parameter
2014-05-20 14:55:00 +01:00
Xavier Ordoquy
d08536ad9d
Merge remote-tracking branch 'origin/master' into 2.4.0
...
Conflicts:
.travis.yml
docs/api-guide/fields.md
docs/api-guide/routers.md
docs/topics/release-notes.md
rest_framework/authentication.py
rest_framework/serializers.py
rest_framework/templatetags/rest_framework.py
rest_framework/tests/test_authentication.py
rest_framework/tests/test_filters.py
rest_framework/tests/test_hyperlinkedserializers.py
rest_framework/tests/test_serializer.py
rest_framework/tests/test_testing.py
rest_framework/utils/encoders.py
tox.ini
2014-04-13 00:05:57 +02:00
Tom Christie
abe14c06f7
Minor docs tweak
2014-03-17 08:36:13 +00:00
Tom Christie
dddbff5931
Tweak DRF compound fields docs
2014-03-17 08:33:18 +00:00
Steven Cummings
c779dce3e4
Serializer fields section for 3rd-party packages
...
* Add new section to serializer fields page where we can list and link 3rd-party packages that provide more field types
* Add an entry for drf-compound-fields
2014-03-16 18:55:21 -05:00
Jeff Fein-Worton
a33eb4177e
fixed typo (wrong "its")
2014-02-02 21:21:08 -08:00
meoooh
e437854a44
Update fields.md
2014-02-01 15:02:11 +09:00
Tom Christie
85d74fc86a
Added write_only and write_only_fields. Refs #1306
2014-01-14 11:25:44 +00:00
Yuri Prezument
6e622d644c
CharField - add allow_null argument
2014-01-12 10:53:54 +02:00
Yuri Prezument
052e236fde
Fix URL/Slug Field signatures in docs
2014-01-09 18:12:30 +02:00
Omer Katz
c46106c961
Rephrased documentation changes according to feedback on IRC.
2013-11-27 14:47:37 +02:00
Omer Katz
2dce8d7a8a
Recommend using Pillow instead of PIL.
2013-11-27 13:23:49 +02:00
Tom Christie
3765865b4b
Update 'default' explanation. Closes #1239
2013-11-20 17:40:56 +00:00
Doğan Çeçen
fd2c291c4d
Typo on api-guide/fields.md and serializers.py
2013-11-11 11:54:30 +02:00
Tom Christie
5e40e50f2b
Include import paths throughout docs.
...
Closes #1051 . Thanks to @pydanny for the report.
2013-08-21 19:46:09 +01:00
Toby Champion
250dfef158
Changes 'python' to 'Python' when used in prose.
2013-06-12 14:51:17 -07:00
Tom Christie
ffa27b840f
Fix ModelField docs. Closes #909 .
2013-06-04 20:23:16 +01:00
Tom Christie
b15a6ccef2
Serializer field 'default' argument may be a callable
2013-06-02 20:12:49 +01:00
Stephan Groß
7a570e16e9
Fix md formatting and typos
2013-05-28 17:13:12 +02:00
Pascal Borreli
8f35ac4f93
Fixed typos
2013-05-28 15:09:23 +01:00
Tom Christie
78c53d530f
Updating docs
2013-05-24 21:08:27 +01:00
Stephan Groß
ad436d966f
Add DecimalField support
2013-04-15 13:02:18 +02:00
Tom Christie
92c929094c
Version 2.2.5
2013-03-26 07:48:53 +00:00
Tom Christie
870d5c7d78
Merge pull request #744 from tomchristie/basic-bulk-edit
...
Basic bulk create and bulk update
2013-03-22 14:47:29 -07:00
Tom Christie
13794baf70
Bit of extra tidying and plenty of docs
2013-03-22 17:01:06 +00:00
Tom Christie
8adde506e8
Default date/time fields now return python date/time objects again by default
2013-03-21 08:41:54 +00:00
Tom Christie
1106596c80
Clean ups to datetime formatting
2013-03-06 12:19:39 +00:00
Tom Christie
4f7b028a0a
Updating docs
2013-03-05 20:57:35 +00:00
Stephan Groß
a9d36d4726
Add docs update - part 1
2013-03-01 16:50:18 +01:00
Stephan Groß
9157db5da0
Add better date / datetime validation (pull 2)
...
addition to #631 with update to master + timefield support
2013-03-01 16:48:20 +01:00
Wiliam Souza
cd7f552540
Fixed a typo WritableField field name in docs
2013-02-26 10:43:33 -03:00
Andreas Pelme
5a5df18d18
Added a serializer TimeField
2013-02-14 21:19:51 +01:00
Tom Christie
1929159db1
Docs tweaks.
2013-01-29 09:15:16 +00:00
Tom Christie
a58145e20f
Note auto_now, auto_now_add behavior. Refs #622 .
2013-01-28 07:46:30 +00:00
Tom Christie
8fad0a727a
Relation fields move into relations.py
2012-12-31 08:53:40 +00:00
Tom Christie
ff01ae3571
Version 2.1.8
2012-12-08 13:01:03 +00: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
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
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
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
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
Marko Tibold
b4cfb46a56
WIP on docs for File- and ImageFileds.
2012-11-16 00:22:08 +01:00
Tom Christie
6d3bb67aa6
Add pk_url_kwarg to hyperlinked fields
2012-11-06 17:11:52 +00:00
Stephan Groß
2c52a2581f
added slug support for HyperlinkedIdentityField
2012-11-06 17:02:34 +01:00
Tom Christie
455a8cedcf
Tweaks
2012-11-05 17:03:22 +00:00
Tom Christie
1418d104a8
Tweak related field docs now that queryset is no longer required.
2012-11-05 16:44:26 +00:00
Stephan Groß
85b176cf47
added docs
2012-11-05 16:51:49 +01:00
Tom Christie
062f5caef3
Tweaks fields docs, and fix 2.0.1 version.
2012-11-01 23:40:34 +00:00
Tom Christie
6e4ab09aae
readonly -> read_only
2012-10-28 20:21:45 +00:00
Tom Christie
3906ff0df5
Improve fields docs
2012-10-28 20:18:02 +00: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
71a93930fd
Fixing spelling errors.
2012-10-21 16:34:07 +02: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
97a7f27c82
Rename HTMLTemplateRenderer -> HTMLRenderer, DocuemntingHTMLRenderer -> BrowseableAPIRenderer
2012-10-09 15:58:48 +01:00
Tom Christie
b581ffe323
Docs tweaks
2012-10-08 15:46:52 +01:00
Tom Christie
9bc4aead65
Tweak fields docs
2012-10-05 19:26:57 +01:00
Tom Christie
cc21948a69
Fix django 1.3 bug
2012-10-05 17:02:33 +01:00
Tom Christie
bcd2caf559
Abstract out the app_label on test models
2012-10-04 09:18:46 +01:00