Commit Graph

3941 Commits

Author SHA1 Message Date
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
Tom Christie
dd2e950cde Fusion ads 2014-07-15 15:02:09 +01:00
Emmanouil
18eab53e89 Updated quick start project set up order 2014-07-09 15:53:31 +01:00
Tom Christie
b519018125 Docs on object level permissions and filters. Closes #1683 2014-07-07 09:51:23 +01:00
Tom Christie
a5e628bf8b Kick travis 2014-07-07 09:42:50 +01:00
Tom Christie
91eabd54bb Docs tweak 2014-07-01 14:34:23 +01:00
Tom Christie
8eadac39ad Merge pull request #1665 from smal/modelserialization-charfield-with-null
Modelserialization charfield with null
2014-06-27 16:39:54 +01:00
Serhiy Voyt
3326ddc865 Merge branch 'master' into modelserialization-charfield-with-null 2014-06-27 18:10:50 +03:00
Tom Christie
636ae419be Merge pull request #1661 from chibisov/master
Fixes #1651. Add link to drf-extensions nested routers to docs
2014-06-27 14:18:56 +01:00
Chibisov Gennady
c1426d1078 Fixes #1651. Add link to drf-extensions nested routers to docs 2014-06-26 23:29:00 +04:00
Tom Christie
511e874185 Merge pull request #1645 from tankorsmash/patch-1
tiny typo in the docstring
2014-06-17 13:37:03 +01:00
TankorSmash
544183f64f typo in the docs 2014-06-16 19:13:02 -04:00
Tom Christie
e11f41ebc4 Merge pull request #1640 from tomchristie/escape-login-logout-paths
Version 2.3.14
2014-06-12 12:09:29 +01:00
Tom Christie
82659873c9 Fix accidental docs change 2014-06-12 11:48:58 +01:00
Tom Christie
1386767013 Version 2.3.14 2014-06-12 11:47:26 +01:00
Tom Christie
3dcc6585d2 Merge pull request #1632 from fletchowns/master
Fix #1614 - Corrected reference to serializers.CharField
2014-06-11 09:17:12 +01:00
Greg Barker
be84f71bc9 Fix #1614 - Corrected reference to serializers.CharField 2014-06-10 15:20:45 -07:00
Xavier Ordoquy
e8ec81f5e9 Fixed #1624 (thanks @abraithwaite) 2014-06-08 09:03:21 +02:00
Xavier Ordoquy
a3e75e4c6c Merge pull request #1619 from khamaileon/master
Replace ChoiceField type_label
2014-06-05 13:08:28 +02:00
khamaileon
08c4594145 Replace ChoiceField type_label 2014-06-05 12:49:02 +02:00
Xavier Ordoquy
0c91d8ed31 Merge pull request #1612 from rhcarvalho/patch-3
Fix typo in docs
2014-06-02 11:13:34 +02:00
Rodolfo Carvalho
31f63e1e55 Fix typo in docs 2014-06-02 11:06:03 +02:00
Tom Christie
12394c9cac Merge pull request #1608 from dbrgn/test_client_contenttype
Always use specified content type in APIRequestFactory
2014-05-30 19:31:06 +01:00
Danilo Bargen
6cb6bfae1b Always use specified content type in APIRequestFactory
If `content_type` is specified in the `APIRequestFactory`, always
include it in the request, even if data is empty.
2014-05-30 17:53:26 +02:00
Tom Christie
a7ff51118f Note on configuring TokenAuthentication 2014-05-29 14:33:16 +01:00
Xavier Ordoquy
add1260be4 Merge pull request #1603 from khamaileon/master
Add the allow_add_remove parameter to the get_serializer method
2014-05-26 19:58:55 +02:00
khamaileon
eab5933070 Add the allow_add_remove parameter to the get_serializer method 2014-05-26 18:43:50 +02:00
Tom Christie
708b6a6c06 Merge pull request #1596 from pipermerriam/piper/suport_unicode_model_references
`_resolve_model` should work with unicode strings
2014-05-23 09:01:13 +01:00
Ze'ev Gilovitz
2b908d2e74 using serialiser.save_object method now. 2014-05-23 11:50:13 +08:00
Ze'ev Gilovitz
55dfbcd42a Merge commit '19dcdc5442728451540d764f674f299cc2a80d48' into pk_related
* commit '19dcdc5442728451540d764f674f299cc2a80d48':
  Try to recover an object by its ID before duplicating it.
2014-05-23 10:37:32 +08:00
Piper Merriam
807f7a6bb9 Fix _resolve_model to work with unicode strings 2014-05-22 15:18:51 -06:00
Tom Christie
01e2a34210 Merge pull request #1594 from jcsp/wip-methodfield
fields: allow help_text on SerializerMethodField
2014-05-22 17:26:37 +01:00
John Spray
04c820b8e5 fields: allow help_text on SerializerMethodField
...by passing through any extra *args and **kwargs
to the parent constructor.

Previously one couldn't assign help_text to a
SerializerMethodField during construction.
2014-05-22 15:24:35 +01:00
Tom Christie
218b94e606 Merge pull request #1536 from Ian-Foote/choicefield_blank_display_value
Allow customising ChoiceField blank display value
2014-05-20 16:03:51 +01:00
Ian Foote
1e7b5fd2c0 Document ChoiceField blank_display_value parameter 2014-05-20 14:55:00 +01:00
Xavier Ordoquy
d46d153a99 Merge pull request #1589 from the5fire/fix-pep8
fix pep8
2014-05-19 07:38:06 +02:00
allenhu
a1a3ad7639 fix pep8 2014-05-19 09:53:05 +08:00
Xavier Ordoquy
af1ee3e631 Fixed a small change in the 1.7 beta url. 2014-05-18 09:38:46 +02:00
Xavier Ordoquy
a2e1024f8b Updated Django versions. 2014-05-18 09:27:23 +02:00
Xavier Ordoquy
5c12b07681 Added missing import. 2014-05-16 19:40:02 +02:00
Xavier Ordoquy
a704d5a206 Fixed tests for python 3.4 2014-05-16 01:20:40 +02:00
Xavier Ordoquy
b370fb40b6 Typo in the Python version. 2014-05-16 01:06:34 +02:00
Xavier Ordoquy
e5556079fc Updated tox with Python 2.4 2014-05-16 00:50:16 +02:00
Xavier Ordoquy
160fbbee0c Merge remote-tracking branch 'frewsxcv/patch-1' into feature/python34 2014-05-16 00:33:49 +02:00
Xavier Ordoquy
19dcdc5442 Try to recover an object by its ID before duplicating it. 2014-05-16 00:06:14 +02:00
Xavier Ordoquy
eb15c25ba1 Merge pull request #1585 from glogiotatidis/master
Typo fix.
2014-05-15 23:58:52 +02:00
Giorgos Logiotatidis
768f537dcb Typo fix. 2014-05-15 15:42:22 +03:00
Alex Louden
0f00a6a8dc Merge branch 'bugfix/nested_through_many_to_many' into pk_related
* bugfix/nested_through_many_to_many: (29 commits)
  Updated failing test from #1575
  Add colon to time zone offset in readable_datetime_formats
  Replaced singular "is" by plural "are"
  Removed unnecessary "that"
  Added missing "the" word
  Added test case to check if the proper attributes are set on html widgets.
  Failing test case: an item that wasn't in the relation before is created although it already exist.
  Added an test on updates through many to many field.
  Removed superfluous "./"s
  Added missing "the" word
  Added missing "to" word
  Automatically set the field name as value for the HTML `id` attribute on the rendered widget.
  Fix missing message in ValidationError
  Mark strings in AuthTokenSerializer as translatable
  Deal with reversed GenericFK.
  Removed the former virtual field list.
  Added help_text to expected response in test
  Sync test result w/ new label
  typo
  Fixed the reversed relation for virtual fields (generic foreign keys).
  ...
2014-05-13 11:03:28 +08:00
Corey Farwell
8ecb778cd2 Enable testing on Python 3.4 2014-05-11 20:29:01 -07:00
Xavier Ordoquy
3ed62976ca Merge remote-tracking branch 'origin/master' into bugfix/nested_through_many_to_many 2014-05-09 21:56:40 +02:00