mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-08-07 13:54:47 +03:00
-
This commit is contained in:
parent
9342d9eea0
commit
9a5efea4fa
|
@ -59,7 +59,7 @@ def get_detail_view_name(model):
|
|||
"""
|
||||
return '%(model_name)s-detail' % {
|
||||
'app_label': model._meta.app_label,
|
||||
'model_name': model._meta.verbose_name.lower()
|
||||
'model_name': model._meta.object_name.lower()
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user