fix: fixed django40 warnings (#29641)
* fix: fixed django4 warnings Co-authored-by: UsamaSadiq <usama.sadiq@arbisoft.com>
This commit is contained in:
committed by
GitHub
parent
e8953398ac
commit
dd488a76d1
@@ -2,20 +2,14 @@
|
||||
Defines URLs for course bookmarks.
|
||||
"""
|
||||
|
||||
|
||||
from django.conf.urls import url
|
||||
|
||||
from django.urls import path
|
||||
from .views.course_bookmarks import CourseBookmarksFragmentView, CourseBookmarksView
|
||||
|
||||
urlpatterns = [
|
||||
url(
|
||||
r'^$',
|
||||
CourseBookmarksView.as_view(),
|
||||
name='openedx.course_bookmarks.home',
|
||||
),
|
||||
url(
|
||||
r'^bookmarks_fragment$',
|
||||
CourseBookmarksFragmentView.as_view(),
|
||||
name='openedx.course_bookmarks.course_bookmarks_fragment_view',
|
||||
),
|
||||
path('', CourseBookmarksView.as_view(),
|
||||
name='openedx.course_bookmarks.home',
|
||||
),
|
||||
path('bookmarks_fragment', CourseBookmarksFragmentView.as_view(),
|
||||
name='openedx.course_bookmarks.course_bookmarks_fragment_view',
|
||||
),
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user