diff --git a/MoviesRecommend/movie/__pycache__/views.cpython-38.pyc b/MoviesRecommend/movie/__pycache__/views.cpython-38.pyc index 4228cc2..26f7bbf 100644 Binary files a/MoviesRecommend/movie/__pycache__/views.cpython-38.pyc and b/MoviesRecommend/movie/__pycache__/views.cpython-38.pyc differ diff --git a/MoviesRecommend/templates/movie/detail.html b/MoviesRecommend/templates/movie/detail.html index 4faac14..c96ad9c 100644 --- a/MoviesRecommend/templates/movie/detail.html +++ b/MoviesRecommend/templates/movie/detail.html @@ -8,11 +8,8 @@ /* ... 保留原有的样式定义 ... */ - ''' - {{ movie.name }} - - ''' - + +
diff --git a/MoviesRecommend/templates/movie/index.html b/MoviesRecommend/templates/movie/index.html index 0e7de7f..7667a3f 100644 --- a/MoviesRecommend/templates/movie/index.html +++ b/MoviesRecommend/templates/movie/index.html @@ -26,14 +26,17 @@
- {% for movie in movies %} -
-
- {{ movie.name }} -

{{ movie.name }}

-
-
-{% endfor %} + {% for movie in movies %} + +
+ +

{{ movie.name }} + {{ movie.get_score }} +

+
+
+ {% endfor %} +
diff --git a/Python程序设计课程设计报告模板 2024年.doc b/Python程序设计课程设计报告模板 2024年.doc deleted file mode 100644 index 5b09f2f..0000000 Binary files a/Python程序设计课程设计报告模板 2024年.doc and /dev/null differ