|  | 
| 30 | 30 | 
 | 
| 31 | 31 | urlpatterns = [ | 
| 32 | 32 |     url(r'^', include(router.urls)), | 
| 33 |  | -    url(r'^entries/(?P<entry_pk>[^/.]+)/suggested/', | 
|  | 33 | +    url(r'^entries/(?P<entry_pk>[^/.]+)/suggested/$', | 
| 34 | 34 |         EntryViewSet.as_view({'get': 'list'}), | 
| 35 | 35 |         name='entry-suggested' | 
| 36 | 36 |         ), | 
| 37 |  | -    url(r'entries/(?P<entry_pk>[^/.]+)/blog', | 
|  | 37 | +    url(r'entries/(?P<entry_pk>[^/.]+)/blog/$', | 
| 38 | 38 |         BlogViewSet.as_view({'get': 'retrieve'}), | 
| 39 | 39 |         name='entry-blog'), | 
| 40 |  | -    url(r'entries/(?P<entry_pk>[^/.]+)/comments', | 
|  | 40 | +    url(r'entries/(?P<entry_pk>[^/.]+)/comments/$', | 
| 41 | 41 |         CommentViewSet.as_view({'get': 'list'}), | 
| 42 | 42 |         name='entry-comments'), | 
| 43 |  | -    url(r'entries/(?P<entry_pk>[^/.]+)/authors', | 
|  | 43 | +    url(r'entries/(?P<entry_pk>[^/.]+)/authors/$', | 
| 44 | 44 |         AuthorViewSet.as_view({'get': 'list'}), | 
| 45 | 45 |         name='entry-authors'), | 
| 46 |  | -    url(r'entries/(?P<entry_pk>[^/.]+)/featured', | 
|  | 46 | +    url(r'entries/(?P<entry_pk>[^/.]+)/featured/$', | 
| 47 | 47 |         EntryViewSet.as_view({'get': 'retrieve'}), | 
| 48 | 48 |         name='entry-featured'), | 
| 49 | 49 | 
 | 
| 50 | 50 |     url(r'^authors/(?P<pk>[^/.]+)/(?P<related_field>\w+)/$', | 
| 51 | 51 |         AuthorViewSet.as_view({'get': 'retrieve_related'}), | 
| 52 | 52 |         name='author-related'), | 
| 53 | 53 | 
 | 
| 54 |  | -    url(r'^entries/(?P<pk>[^/.]+)/relationships/(?P<related_field>\w+)', | 
|  | 54 | +    url(r'^entries/(?P<pk>[^/.]+)/relationships/(?P<related_field>\w+)/$', | 
| 55 | 55 |         EntryRelationshipView.as_view(), | 
| 56 | 56 |         name='entry-relationships'), | 
| 57 |  | -    url(r'^blogs/(?P<pk>[^/.]+)/relationships/(?P<related_field>\w+)', | 
|  | 57 | +    url(r'^blogs/(?P<pk>[^/.]+)/relationships/(?P<related_field>\w+)/$', | 
| 58 | 58 |         BlogRelationshipView.as_view(), | 
| 59 | 59 |         name='blog-relationships'), | 
| 60 |  | -    url(r'^comments/(?P<pk>[^/.]+)/relationships/(?P<related_field>\w+)', | 
|  | 60 | +    url(r'^comments/(?P<pk>[^/.]+)/relationships/(?P<related_field>\w+)/$', | 
| 61 | 61 |         CommentRelationshipView.as_view(), | 
| 62 | 62 |         name='comment-relationships'), | 
| 63 |  | -    url(r'^authors/(?P<pk>[^/.]+)/relationships/(?P<related_field>\w+)', | 
|  | 63 | +    url(r'^authors/(?P<pk>[^/.]+)/relationships/(?P<related_field>\w+)/$', | 
| 64 | 64 |         AuthorRelationshipView.as_view(), | 
| 65 | 65 |         name='author-relationships'), | 
| 66 | 66 | ] | 
|  | 
0 commit comments