Commit 0f1c79cb authored by Maxime Bombar's avatar Maxime Bombar


parent 5ca0b644
......@@ -48,7 +48,7 @@ class NamespacedHRField(serializers.HyperlinkedRelatedField):
class NamespacedHIField(serializers.HyperlinkedIdentityField):
"""A `rest_framework.serializers.HyperlinkedIdentityField` subclass to
automatically prefix view names with teh API namespace.
automatically prefix view names with the API namespace.
def __init__(self, view_name=None, **kwargs):
if view_name is not None:
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment