mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-06-14 02:23:19 +03:00
Fixes to release notes
This commit is contained in:
parent
51d86a6505
commit
59b30307e8
|
@ -1,17 +1,11 @@
|
||||||
## Pre-release notes:
|
## Pre-release notes:
|
||||||
|
|
||||||
The 3.0 release is now ready for some tentative testing and upgrades for super keen early adopters. You can install the development version directly from GitHub like so:
|
The 3.0 release is now ready for some tentative testing and upgrades for early adopters. You can install the development version directly from GitHub like so:
|
||||||
|
|
||||||
pip install https://github.com/tomchristie/django-rest-framework/archive/version-3.0.zip
|
pip install https://github.com/tomchristie/django-rest-framework/archive/master.zip
|
||||||
|
|
||||||
See the [Version 3.0 GitHub issue](https://github.com/tomchristie/django-rest-framework/pull/1800) for more details on remaining work.
|
See the [Version 3.0 GitHub issue](https://github.com/tomchristie/django-rest-framework/pull/1800) for more details on remaining work.
|
||||||
|
|
||||||
The most notable outstanding issues still to be resolved on the `version-3.0` branch are as follows:
|
|
||||||
|
|
||||||
* Finish forms support for serializers and in the browsable API.
|
|
||||||
* Optimisations for serializing primary keys.
|
|
||||||
* Refine style of validation errors in some cases, such as validation errors in `ListField`.
|
|
||||||
|
|
||||||
**Your feedback on the upgrade process and 3.0 changes is hugely important!**
|
**Your feedback on the upgrade process and 3.0 changes is hugely important!**
|
||||||
|
|
||||||
Please do get in touch via twitter, IRC, a GitHub ticket, or the discussion group.
|
Please do get in touch via twitter, IRC, a GitHub ticket, or the discussion group.
|
||||||
|
@ -237,7 +231,7 @@ To use writable nested serialization you'll want to declare a nested field on th
|
||||||
fields = ('username', 'email', 'profile')
|
fields = ('username', 'email', 'profile')
|
||||||
|
|
||||||
def create(self, validated_data):
|
def create(self, validated_data):
|
||||||
profile_data = validated_data.pop['profile']
|
profile_data = validated_data.pop('profile')
|
||||||
user = User.objects.create(**validated_data)
|
user = User.objects.create(**validated_data)
|
||||||
Profile.objects.create(user=user, **profile_data)
|
Profile.objects.create(user=user, **profile_data)
|
||||||
return user
|
return user
|
||||||
|
|
Loading…
Reference in New Issue
Block a user