From 91e7c05352674d3186a19fd18c54170463ab8719 Mon Sep 17 00:00:00 2001 From: Matthias Date: Sat, 25 Sep 2021 01:30:05 +0200 Subject: [PATCH] refactor name --- InvenTree/plugins/integration/sample.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/InvenTree/plugins/integration/sample.py b/InvenTree/plugins/integration/sample.py index 232db9f608..8fa2be5ffa 100644 --- a/InvenTree/plugins/integration/sample.py +++ b/InvenTree/plugins/integration/sample.py @@ -18,14 +18,14 @@ class SampleIntegrationPlugin(SettingsMixin, UrlsMixin, NavigationMixin, Integra return HttpResponse(f'Hi there {request.user.username} this works') def setup_urls(self): - he = [ + he_urls = [ url(r'^he/', self.view_test, name='he'), url(r'^ha/', self.view_test, name='ha'), ] return [ url(r'^hi/', self.view_test, name='hi'), - url(r'^ho/', include(he), name='ho'), + url(r'^ho/', include(he_urls), name='ho'), ] SETTINGS = {