Amigo pontos q senti falta:
- Testes (use *pytest*) para seu sistema todo...implementa já eles ok
- Deixe na venv o *Debug=False*
*- *Valide os campos, tipow, se o e-mail retornou válido, ou seja, ex @
ex.com
- esse trecho na view: return render(request, "orders/order/created.html",
{"order": order})
como a variável *order *está dentro do *if *de validação se der erro de
validação dará tb erro nela. Revejá lá.
No teste inicial q fiz só senti falta desses detalhes.
Em segunda-feira, 20 de outubro de 2025 às 15:42:37 UTC-3, ALINDA Fortunate
escreveu:
>
>
> *Progress with Python/Django Software Development.Part 1 of my Second Last
> Project of the Learning Phase.*
> Greetings to you who like and follow my work.
> Today concerning my learning journey, I bring you an *E-commerce
> Project/An online shopping site.*
>
> It's key features include:
> 1. Product catalog.
> 2. Shopping Cart using session.
> 3. Context processor to make the cart available to all templates/pages.
> 4. Order placement.
> 5. Celery and RabbitMQ for asynchronous tasks (Note: Due to the fact I am
> using a free tier on https://render.com/ for hosting this project, this
> feature is not supported).
>
> Project link: https://online-shopping-site-jr3o.onrender.com/
> <https://lnkd.in/dkSU9ZvN> (This link will expire in a month time from 18
> October, 2025 because I am using a free tier account for hosting.)
>
> Source code:
> https://github.com/alindafortunate/OnlineShop-E_Commerce_Platform/tree/main/online_shopping_site
>
> <https://lnkd.in/dMCx6iwJ>
>
> Feel free to checkout it, advise, give feedback and ask me follow up
> questions in my inbox.
> Thank you.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/django-users/2f7f9ce3-4f78-441b-9b8d-865ad139e7cdn%40googlegroups.com.