Improve RelatedField and callable default handling

- callable default values will now be properly called 
  - PrimaryKeyRelatedField and SlugRelatedField will now return an appropriate type based on the relation model's Field
  - mock views now have a request object bound even when public is True
This commit is contained in:
Cristi Vîjdea committed 2017-12-23 11:52:57 +01:00
1 parent f05889292a
commit 9f6ee4da87
17 files changed
+274 -142

No files matched your search

Binary file not shown.