proshop_django
proshop_django copied to clipboard
Replace usage of datetime for compatibility and clarity
Much more dynamic solution for generating the stars. ``` import React from "react"; export default function Rating({ value, text, color }) { const stars = []; for (let i =...
 the code is shown below, I believe the error is occuring because I'm using react router v6 how do I write this code in react router v6...
Can anyone help on how to implement social login. Should we disable the JWT entirely or is it possible to add social auth Side by side
The problem was that when we get an error in a product after trying to create a review, and we go to other product the error stays in the state...
1. You can still order without having anything in the cart!(Just get something in stock and place the order(since we don't even need to pay yet) like the camera and...
without this additional code, users could place an order even when the cart is empty and that just fills out our database.
Instead of redirecting the user when he's refreshing the placeorder page to the payment page again and making him choose the payment method and then continue, as you did in...
Instead of using: ` query = request.query_params.get('keyword') if query == None: query = '' ` which is right by the way, we better use the Pythonic way of doing it:...