old_contents: from django.conf.urls import url
  from django.conf import settings
  from django.conf.urls.static import static
  from api import views
  
  urlpatterns = [
      url(r'^post/$', views.getAllPosts),
      url(r'^author/(?P<id>[0-9a-f]+)/$', views.getProfile),
      url(r'^post/(?P<id>[0-9a-f]+)/comments/$', views.getComments),
      url(r'^post/(?P<id>[0-9a-f]+)/$', views.getSinglePost),
      url(r'^author/(?P<id>[0-9a-f]+)/friends/$', views.getFriends),
      ]
new_contents: from django.conf.urls import url
  from django.conf import settings
  from django.conf.urls.static import static
  from api import views
  
  urlpatterns = [
      url(r'^posts/$', views.getAllPosts),
      url(r'^author/(?P<id>[0-9a-f]+)/$', views.getProfile),
      url(r'^posts/(?P<id>[0-9a-f]+)/comments/$', views.getComments),
      url(r'^posts/(?P<id>[0-9a-f]+)/$', views.getSinglePost),
      url(r'^author/(?P<id>[0-9a-f]+)/friends/$', views.getFriends),
      ]
subject: change post to posts