Skip to content

Commit

Permalink
issue #1154 - remove perm_path message
Browse files Browse the repository at this point in the history
  • Loading branch information
davmlaw committed Sep 17, 2024
1 parent c440703 commit ad4525d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion seqauto/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@
router.register(r'api/v1/qc_exec_summary', QCExecSummaryViewSet, basename='api_qc_exec_summary')

urlpatterns += [
path('', include(router.urls)),
path('', include(router.urls), name='seqauto_apis'),
]

rest_urlpatterns = [
Expand Down
3 changes: 2 additions & 1 deletion variantgrid/perm_path.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ def _perm_path(route, view, path_func, **kwargs):
if not settings.URLS_NAME_REGISTER[name]:
view = require_superuser(view)
else:
logging.warning("url: '%s' has no name, so is not tested via URLS_NAME_REGISTER", route)
logging.warning("url: route='%s', has no name, so is not tested via URLS_NAME_REGISTER",
route, str(view))
return path_func(route, view, **kwargs)


Expand Down

0 comments on commit ad4525d

Please sign in to comment.