- Remove usage of django.urls.patterns - Change urls tuples to lists - Make all string view names callables - This is the second of several urls updates for LMS; a work in progress
12 lines
273 B
Python
12 lines
273 B
Python
"""
|
|
URLs for badges API
|
|
"""
|
|
from django.conf import settings
|
|
from django.conf.urls import url
|
|
|
|
from .views import UserBadgeAssertions
|
|
|
|
urlpatterns = [
|
|
url('^assertions/user/' + settings.USERNAME_PATTERN + '/$', UserBadgeAssertions.as_view(), name='user_assertions'),
|
|
]
|