diff options
| author | Tom Christie | 2014-09-12 09:12:56 +0100 |
|---|---|---|
| committer | Tom Christie | 2014-09-12 09:12:56 +0100 |
| commit | adcb64ab4198f35c61d5be68956d201685ed3538 (patch) | |
| tree | 258bfb900ab7bfd4151d6acdf378b63531c8d294 /rest_framework/utils | |
| parent | 1e53eb0aa2998385e26aa0a4d8542013bc7b575b (diff) | |
| download | django-rest-framework-adcb64ab4198f35c61d5be68956d201685ed3538.tar.bz2 | |
MethodField -> SerializerMethodField
Diffstat (limited to 'rest_framework/utils')
| -rw-r--r-- | rest_framework/utils/modelinfo.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/rest_framework/utils/modelinfo.py b/rest_framework/utils/modelinfo.py index a7a0346c..960fa4d0 100644 --- a/rest_framework/utils/modelinfo.py +++ b/rest_framework/utils/modelinfo.py @@ -1,6 +1,7 @@ """ Helper functions for returning the field information that is associated -with a model class. +with a model class. This includes returning all the forward and reverse +relationships and their associated metadata. """ from collections import namedtuple from django.db import models |
