Skip to content

Commit d8471be

Browse files
stsewdhumitos
andauthored
rename class
Co-Authored-By: Manuel Kaufmann <[email protected]>
1 parent 2562fb2 commit d8471be

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

readthedocs/profiles/views.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ def get_success_url(self):
6868
return reverse('homepage')
6969

7070

71-
class BaseProfileDetail(DetailView):
71+
class ProfileDetailBase(DetailView):
7272

7373
model = User
7474
template_name = 'profiles/public/profile_detail.html'
@@ -82,7 +82,7 @@ def get_context_data(self, **kwargs):
8282

8383
class ProfileDetail(SettingsOverrideObject):
8484

85-
_default_class = BaseProfileDetail
85+
_default_class = ProfileDetailBase
8686

8787

8888
class AccountAdvertisingEdit(PrivateViewMixin, SuccessMessageMixin, UpdateView):

0 commit comments

Comments
 (0)