Benoît Hubert 7 лет назад
Родитель
Сommit
62bd96219e
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      movies/templates/home.html

+ 1 - 1
movies/templates/home.html

@@ -2,7 +2,7 @@
   <title>MovieLib</title>
     <body>
       <h1>Your Movie list</h1>
-      <form method="POST">
+      <form method="POST" action="/">
         <input name="movie-title" id="input-new-movie" placeholder="Enter a movie title" />
         {% csrf_token %}
       </form>