Skip to content

Commit

Permalink
Merge pull request #6880 from readthedocs/allow-override-view
Browse files Browse the repository at this point in the history
Allow to override project detail view
  • Loading branch information
ericholscher authored Apr 8, 2020
2 parents 1720d2b + 9341529 commit e6cae86
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion readthedocs/projects/views/public.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def project_redirect(request, invalid_project_slug):
))


class ProjectDetailView(
class ProjectDetailViewBase(
ProjectRelationListMixin,
BuildTriggerMixin,
ProjectOnboardMixin,
Expand Down Expand Up @@ -124,6 +124,11 @@ def get_context_data(self, **kwargs):
return context


class ProjectDetailView(SettingsOverrideObject):

_default_class = ProjectDetailViewBase


class ProjectBadgeView(View):

"""
Expand Down

0 comments on commit e6cae86

Please sign in to comment.