mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-25 22:22:26 +00:00
s/teh/the
This commit is contained in:
parent
5ca0b644ea
commit
0f1c79cb29
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ class NamespacedHRField(serializers.HyperlinkedRelatedField):
|
||||||
|
|
||||||
class NamespacedHIField(serializers.HyperlinkedIdentityField):
|
class NamespacedHIField(serializers.HyperlinkedIdentityField):
|
||||||
"""A `rest_framework.serializers.HyperlinkedIdentityField` subclass to
|
"""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):
|
def __init__(self, view_name=None, **kwargs):
|
||||||
if view_name is not None:
|
if view_name is not None:
|
||||||
|
|
Loading…
Reference in a new issue