old_contents: from django.conf.urls import url
  
  from .views import (
      AddToAllView,
      AddToUserView,
      InviteView,
      TopOffAllView,
      InviteStatView,
      TopOffUserView
  )
  
  
  urlpatterns = [
      url(r"^invite/$", InviteView.as_view(), name="invite"),
      url(r"^invite-stat/(?P<pk>\d+)/$", InviteStatView.as_view(), name="invite_stat"),
      url(r"^topoff/$", TopOffAllView.as_view(), name="topoff_all"),
      url(r"^topoff/(?P<pk>\d+)/$", TopOffUserView.as_view(), name="topoff_user"),
      url(r"^addto/$", AddToAllView.as_view(), name="addto_all"),
      url(r"^addto/(?P<pk>\d+)/$", AddToUserView.as_view(), name="addto_user"),
  ]
  
new_contents: from django.conf.urls import url
  
  from .views import (
      AddToAllView,
      AddToUserView,
      InviteView,
      TopOffAllView,
      InviteStatView,
      TopOffUserView
  )
  
  app_name = "pinax_invitations"
  
  urlpatterns = [
      url(r"^invite/$", InviteView.as_view(), name="invite"),
      url(r"^invite-stat/(?P<pk>\d+)/$", InviteStatView.as_view(), name="invite_stat"),
      url(r"^topoff/$", TopOffAllView.as_view(), name="topoff_all"),
      url(r"^topoff/(?P<pk>\d+)/$", TopOffUserView.as_view(), name="topoff_user"),
      url(r"^addto/$", AddToAllView.as_view(), name="addto_all"),
      url(r"^addto/(?P<pk>\d+)/$", AddToUserView.as_view(), name="addto_user"),
  ]
  
subject: Add `app_name` to urls.py for Django v2