From e7d48274c35c3b80ebc66a961898446ecf3fac1f Mon Sep 17 00:00:00 2001 From: Bruno Amaral Date: Fri, 7 Jul 2023 20:18:30 +0100 Subject: [PATCH] cleanup --- django/admin/urls.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/django/admin/urls.py b/django/admin/urls.py index 6fc585f0..6030f0ff 100644 --- a/django/admin/urls.py +++ b/django/admin/urls.py @@ -39,11 +39,6 @@ path('articles/post/',post_article), path('admin/', admin.site.urls), path('api-auth/', include('rest_framework.urls')), - # path('articles/all/', AllArticleViewSet.as_view()), - # path('articles/prediction/none/', ArticlesPredictionNone.as_view()), - # path('feed/articles/prediction/none/', ToPredictFeed()), - # path('trials/all/', AllTrialViewSet.as_view()), - # path('articles/related/', RelatedArticles.as_view({'get': 'list'})), path('feed/articles/author//', ArticlesByAuthorFeed(), name='articles_by_author_feed'), path('feed/articles/category//', ArticlesByCategoryFeed()), path('feed/articles/subject//', ArticlesBySubjectFeed()), @@ -63,7 +58,7 @@ path('articles/relevant/week///', newsletterByWeek.as_view({'get':'list'})), path('articles/relevant/last//', lastXdays.as_view({'get':'list'})), path('categories/', CategoryViewSet.as_view({'get':'list'})), - # returns the cumulative count of articles and clinical trials for a given category + # returns the cumulative count of articles and clinical trials for a given category path('categories//monthly-counts/', MonthlyCountsView.as_view()), re_path('^trials/category/(?P[-\w]+)/$', TrialsByCategory.as_view({'get':'list'})), re_path('^trials/source/(?P.+)/$', TrialsBySourceList.as_view()),