django-rest-framework/rest_framework
Thodoris Sotiropoulos 4c2d6b9bb7 Do not ignore source when building fields dynamically
This commit fixes the issue when you set the keyword argument `source`
and your have not set the serializer fields explicitly. Then the
construction of field failed because there is not actually any model
field with that name.

However, you are still able to imply the name of model field by
providing the `source` keyword argument.
2016-11-17 18:51:22 +02:00
..
authtoken Error codes (#4550) 2016-10-11 10:25:21 +01:00
locale Removous erronous duplicate Danish translation file (#4563) 2016-10-12 10:02:21 +01:00
static/rest_framework Browsable API navbar gets overlapped by highlighted pagination item fix (#4547) 2016-10-11 10:59:00 +01:00
templates/rest_framework Add autofocus support for input.html templates (#4650) 2016-11-07 11:34:53 +00:00
templatetags Lazy hyperlink names (#4554) 2016-10-11 12:18:00 +01:00
utils Fix 3674 (#4571) 2016-10-13 12:43:43 +01:00
__init__.py Version 3.5.3 [ci skip] 2016-11-07 13:38:48 +00:00
authentication.py TokenAuthentication: Allow custom keyword in the header (#4097) 2016-05-04 10:53:34 +01:00
compat.py Fix guardian import (#4612) 2016-10-21 16:59:43 +01:00
decorators.py Version 3.5 (#4525) 2016-10-10 13:03:46 +01:00
exceptions.py Fix support of get_full_details() for Throttled exceptions (#4627) 2016-11-01 10:38:56 +00:00
fields.py Support 'on'/'off' literals with BooleanField. Closes #4624 (#4640) 2016-11-01 11:11:34 +00:00
filters.py Fix FilterSet warnings. (#4660) 2016-11-07 12:55:18 +00:00
generics.py Fix blank lines around docstrings 2016-03-17 11:06:47 +00:00
metadata.py Don't list M2M choices in OPTIONS requests. Refs #3751. (#4160) 2016-06-01 17:28:32 +01:00
mixins.py Invalidate any existing prefetch cache on PUT requests. (#4668) 2016-11-11 09:44:35 +00:00
models.py Move models.resolve_model to serializers._resolve_model 2014-01-13 11:47:44 -05:00
negotiation.py Fixed various typos (#4366) 2016-08-08 09:32:22 +01:00
pagination.py Enable cursor pagination of value querysets. (#4569) 2016-11-01 10:42:01 +00:00
parsers.py Descriptive error from FileUploadParser when filename not included. (#4340) 2016-08-01 18:44:58 +01:00
permissions.py Access request.user.is_authenticated as property not method, under Django 1.10+ (#4358) 2016-08-05 11:04:01 +01:00
relations.py Lazy hyperlink names (#4554) 2016-10-11 12:18:00 +01:00
renderers.py Version 3.5 (#4525) 2016-10-10 13:03:46 +01:00
request.py Do not treat empty non-form input as HTML. (#4566) 2016-10-12 15:46:24 +01:00
response.py fixes response rendering with empty context (#4495) 2016-09-17 03:13:34 +01:00
reverse.py Version 3.5 (#4525) 2016-10-10 13:03:46 +01:00
routers.py Version 3.5 (#4525) 2016-10-10 13:03:46 +01:00
schemas.py handle error when no links are found (#4649) 2016-11-07 11:41:10 +00:00
serializers.py Do not ignore source when building fields dynamically 2016-11-17 18:51:22 +02:00
settings.py Version 3.5 (#4525) 2016-10-10 13:03:46 +01:00
status.py Adding support for RFC 4918 status codes (#4291) 2016-07-26 11:09:12 +01:00
test.py Drop redundant requests adapter (#4639) 2016-11-01 10:24:53 +00:00
throttling.py Access request.user.is_authenticated as property not method, under Django 1.10+ (#4358) 2016-08-05 11:04:01 +01:00
urlpatterns.py Version 3.5 (#4525) 2016-10-10 13:03:46 +01:00
urls.py Add app_name to rest_framework.urls. 2015-12-08 02:25:00 +01:00
validators.py Error codes (#4550) 2016-10-11 10:25:21 +01:00
versioning.py Fix handling of ALLOWED_VERSIONS and no DEFAULT_VERSION (#4370) 2016-08-10 15:19:56 +01:00
views.py Don't lose exception info (#4638) 2016-11-01 10:22:30 +00:00
viewsets.py Remove code for old Django versions (#4513) 2016-09-23 23:03:02 +01:00