You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Guys, there is an incomplete code for middlewares.py. It collapses all app for a customer, during a testing. I added extra code for the file and now it works. You can find the fixed code here, hope it is going to be a helpful for you.
The text was updated successfully, but these errors were encountered:
I have a new update for you guys. Because, I added extra code to the middlewares.py on the row #16. I wrote "del request.session['basket_id']". Now, to avoid a crash of the app we need to remove the same directive from the file views.py on the row #199 or you can use "try - except" block there. Guys, why do you not use "try - except" blocks in the app during critical requests like HTTP or DB? It is going to help us to reduce crash of the app and give us ability to see a more useful information by using messages app.
Guys, there is an incomplete code for middlewares.py. It collapses all app for a customer, during a testing. I added extra code for the file and now it works. You can find the fixed code here, hope it is going to be a helpful for you.
The text was updated successfully, but these errors were encountered: