This will remove imports from __future__ that are no longer needed. https://docs.python.org/3.5/library/2to3.html#2to3fixer-future
14 lines
275 B
Python
14 lines
275 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'),
|
|
]
|