from django.conf.urls import include, url

urlpatterns = [
    url('', include('rest_friendship.urls', namespace='rest_friendship')),
]

from django.urls import path, include

urlpatterns = [
    path('', include(('rest_friendship.urls', 'rest_friendship'), namespace='rest_friendship')),
]

Fix deprecated url import, (to path)
Fix deprecated url import, (to path)
