Procházet zdrojové kódy

Merge branch 'master' of http://39.104.94.153:3000/yf_zd/second

yf_ymm před 5 roky
rodič
revize
775a14e3ec
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      apps/Equipment/views.py

+ 1 - 1
apps/Equipment/views.py

@@ -2442,7 +2442,7 @@ class Sell_New(ListView):
         money = request.POST.get("money")
         time = request.POST.get("time")
         s_id = request.POST.get("id")
-        username = request.user.username
+        username = request.user.id
         
         if s_id:
             try: