refactor name

This commit is contained in:
Matthias 2021-09-25 01:30:05 +02:00
parent b2cb89d488
commit 91e7c05352
No known key found for this signature in database
GPG Key ID: F50EF5741D33E076

View File

@ -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 = {