mirror of
https://github.com/yawaflua/SusMarket.git
synced 2025-12-08 19:49:36 +02:00
чота поправил
This commit is contained in:
@@ -35,7 +35,7 @@ def register_user(request: HttpRequest):
|
||||
|
||||
|
||||
def post_review(request: HttpRequest):
|
||||
if request.POST:
|
||||
if request.method == "POST":
|
||||
commentary = request.POST["commentary"]
|
||||
rate = request.POST["rate"]
|
||||
product = request.POST["product"]
|
||||
|
||||
Reference in New Issue
Block a user