Skip to content

Commit

Permalink
feat: upgraded import of re_path in url
Browse files Browse the repository at this point in the history
  • Loading branch information
BetoFandino committed Jul 3, 2024
1 parent eff2b08 commit 7f6b294
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions nau_openedx_extensions/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,20 @@
from __future__ import absolute_import, unicode_literals

from django.conf import settings
from django.conf.urls import url
from django.urls import re_path

from nau_openedx_extensions.message_gateway.views import api as message_gateway_api
from nau_openedx_extensions.message_gateway.views import tab as message_gateway_tab

urlpatterns = [
url(
re_path(
r"^nau-tools/{}/$".format(
settings.COURSE_ID_PATTERN,
),
message_gateway_tab.NauMessageGatewayTabView.as_view(),
name="nau_tools",
),
url(
re_path(
r"^nau-tools/{}/send-message$".format(
settings.COURSE_ID_PATTERN,
),
Expand Down

0 comments on commit 7f6b294

Please sign in to comment.