aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework/relations.py
diff options
context:
space:
mode:
authorTom Christie2013-04-25 12:47:34 +0100
committerTom Christie2013-04-25 12:47:34 +0100
commit95abe6e8445f59f9e52609b0c54d9276830dbfd3 (patch)
treeb74d076e5d4e84d0ed8ead11843ad5e52b9da335 /rest_framework/relations.py
parentb94da2468cdda6b0ad491574d35097d0e336ea7f (diff)
downloaddjango-rest-framework-95abe6e8445f59f9e52609b0c54d9276830dbfd3.tar.bz2
Cleanup docstrings
Diffstat (limited to 'rest_framework/relations.py')
-rw-r--r--rest_framework/relations.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/rest_framework/relations.py b/rest_framework/relations.py
index 2a10e9af..6bda7418 100644
--- a/rest_framework/relations.py
+++ b/rest_framework/relations.py
@@ -1,3 +1,9 @@
+"""
+Serializer fields that deal with relationships.
+
+These fields allow you to specify the style that should be used to represent
+model relationships, including hyperlinks, primary keys, or slugs.
+"""
from __future__ import unicode_literals
from django.core.exceptions import ObjectDoesNotExist, ValidationError
from django.core.urlresolvers import resolve, get_script_prefix, NoReverseMatch