1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-16 23:29:49 +00:00

[terms] rewrote 'terms view' with react (#4589)

This commit is contained in:
llj
2020-06-15 16:27:00 +08:00
committed by GitHub
parent 1a3aca68e3
commit 389f8befee
6 changed files with 64 additions and 9 deletions

View File

@@ -34,7 +34,8 @@ class TermsView(DetailView):
url: /terms/view
"""
template_name = "termsandconditions/tc_view_terms.html"
#template_name = "termsandconditions/tc_view_terms.html"
template_name = "termsandconditions/tc_view_terms_react.html"
context_object_name = 'terms'
def get_object(self, queryset=None):