@@ -294,10 +294,7 @@ def _get_base_url(self):
294
294
Return the base format for a URL for the test's model. Override this to test for a model which belongs
295
295
to a different app (e.g. testing Interfaces within the virtualization app).
296
296
"""
297
- return 'plugins:{}:customobject_{{}}' .format (
298
- self .model ._meta .app_label ,
299
- self .model ._meta .model_name
300
- )
297
+ return 'plugins:{}:customobject_{{}}' .format (self .model ._meta .app_label )
301
298
302
299
def _get_url (self , action , instance = None ):
303
300
"""
@@ -504,10 +501,7 @@ def _get_base_url(self):
504
501
Return the base format for a URL for the test's model. Override this to test for a model which belongs
505
502
to a different app (e.g. testing Interfaces within the virtualization app).
506
503
"""
507
- return 'plugins:{}:customobject_{{}}' .format (
508
- self .model ._meta .app_label ,
509
- self .model ._meta .model_name
510
- )
504
+ return 'plugins:{}:customobject_{{}}' .format (self .model ._meta .app_label )
511
505
512
506
def _get_url (self , action , instance = None ):
513
507
"""
@@ -670,10 +664,7 @@ def _get_base_url(self):
670
664
Return the base format for a URL for the test's model. Override this to test for a model which belongs
671
665
to a different app (e.g. testing Interfaces within the virtualization app).
672
666
"""
673
- return 'plugins:{}:customobject_{{}}' .format (
674
- self .model ._meta .app_label ,
675
- self .model ._meta .model_name
676
- )
667
+ return 'plugins:{}:customobject_{{}}' .format (self .model ._meta .app_label )
677
668
678
669
def _get_url (self , action , instance = None ):
679
670
"""
0 commit comments