summaryrefslogtreecommitdiff
path: root/patchwork/urls.py
diff options
context:
space:
mode:
authorStephen Finucane <stephen@that.guru>2020-03-01 15:13:23 +0000
committerStephen Finucane <stephen@that.guru>2020-04-26 13:45:36 +0100
commitc8a799fc54875393adf60a7d7f90c9baf6b388ca (patch)
treed306bd0017f6562704c941318e2fed620103499c /patchwork/urls.py
parent781303bce0d8e94eae957bd3b30abe9a7849d981 (diff)
downloadpatchwork-c8a799fc54875393adf60a7d7f90c9baf6b388ca.tar
patchwork-c8a799fc54875393adf60a7d7f90c9baf6b388ca.tar.gz
trivial: Rename 'CoverLetter' references to 'Cover'
We're going to be doing some model surgery shortly. Do the necessary renaming of variables ahead of this. Signed-off-by: Stephen Finucane <stephen@that.guru>
Diffstat (limited to 'patchwork/urls.py')
-rw-r--r--patchwork/urls.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/patchwork/urls.py b/patchwork/urls.py
index dcdcfb4..9c3b85f 100644
--- a/patchwork/urls.py
+++ b/patchwork/urls.py
@@ -207,10 +207,10 @@ if settings.ENABLE_REST_API:
api_person_views.PersonDetail.as_view(),
name='api-person-detail'),
url(r'^covers/$',
- api_cover_views.CoverLetterList.as_view(),
+ api_cover_views.CoverList.as_view(),
name='api-cover-list'),
url(r'^covers/(?P<pk>[^/]+)/$',
- api_cover_views.CoverLetterDetail.as_view(),
+ api_cover_views.CoverDetail.as_view(),
name='api-cover-detail'),
url(r'^patches/$',
api_patch_views.PatchList.as_view(),