🎉
Monkey.D
at starting it is hart to learn and understand any thing and we need some guidance
Meft
Deploy Django on ubuntu
Anonymous
Hey anyone know how to make add to Cart in django?(E-commerce webpage)
Doragonsureiyā
Doragonsureiyā
how can i learn django free and fast ??
Looking for Django tutorials? you can follow these three recommended ones:
* Official documentation and tutorial
* Tutorial from MDN
* Tutorial from django-girls
Charly
Doragonsureiyā
Amit
Does anyone know about celery?
AZ
After that you can get the list of user carts and you can edit it and you can delete it by the id of cart send request to django with id of the cart user want to delete then give this id to django and delete it, or updated the cart, it is easy it was difficult to me until i build my e-commerce website
Charly
Charly
If you don't have anything else built then check something like this: https://medium.com/@ayoubennaoui20/building-a-shopping-cart-in-django-a-step-by-step-guide-d696439ec6e5
Mehdi
sorry guys
do you have any thing for learning templates in django
I can’t understand somethings like {%csrf%} or sth like that
ali
need some help to solve a little problem for my django task.who can help?
the problem is that i put some of css an js etc... on static folder in one of my apps and load the statics at the first line of my html codes {% load static %}
and replace tag with the right way that django template tag says like {% static(space)'style. css' %}
after running the project i got no error but just the html file comes up without any style and image etc...
the point is when i copy static files in a folder named assets in the project's main directory that manage. py is, everything will be ok.
so my problem is, i really confused that what is difference between static and assets. explain this to me please. or give me a link.
Charly
tsai
what if migrassion is not detected even though everything is correct?
Jo
Monkey.D
~
why after this code: docker compose exec web django-admin makemessages --all
creates python file, explain home.html.py in templates?
Kiran
Hello guys, can anyone help me for Django custom authentication
Doragonsureiyā
Kasem
Hello everyone, I hope you are all doing well.
I have implemented Stripe Checkout, and when I'm testing the API endpoint, the transaction is not being saved in the database. The important error message in the Stripe dashboard, or even when I printed it out, says "no such token," which means there’s an error with the secret token. I’m sure my secret token is true. Could it be because I’m not doing anything from the client side? I read that we use the secret key on the server side and the publishable key on the client side. Could this be the reason?
Am I only developing from the backend?
Thank you
Z
Hi, I planned to create a website for EV charging slot booking using Django. I'm stuck on implementing role-based access authentication and have no idea how to create it. Can anyone share the steps or any documentation?
Joy
Hi,
I have started with django recently. I have worked on frontend before.
I am quite confused on should I be using js to handel the methods like calculating and updating the balance or do it with django itself(utils.py) ?
Would be really glad for the help.
Thanks.
choyon
Joy
Anonymous
Anyone here who developed a e-commerce website..? (I want to add something In my website like ..order section,and add to Cart section through django)
𝚂 𝙷 𝙰 𝙼 𝙼 𝙰 𝚂
I have completed python Django course,
Now do i need to learn MySql or something else or do i need to projects with Django?
Doragonsureiyā
Kasem
Hello everyone, I hope you are all doing well.
I have implemented Stripe Checkout, and when I'm testing the API endpoint, the transaction is not being saved in the database. The important error message in the Stripe dashboard, or even when I printed it out, says "no such token," which means there’s an error with the secret token. I’m sure my secret token is true. Could it be because I’m not doing anything from the client side? I read that we use the secret key on the server side and the publishable key on the client side. Could this be the reason?
Am I only developing from the backend?
Thank you
Maxim
Kasem
what does this have to do with Django?
I made stripe checkout when i tested my api give me no such token I make sure my secret token is true when I searched about this I read from client sode should be handle publishable key I developed only backend is this problem I mean if I hanld client side problem will be solved,did you test this ?
Thanks
Achiever’s
My urls not getting views and not showing any logs to console when i am hitting url
Can anyone help me out
Charly
Maxim
AZ
072391
Francis
What kind of advice is this 😳
To some point he is right.. if he's comfortable with Django's ORM, then he can go straight to creating a project instead without learning MySQL . However, understanding MySQL or the underlying database can be beneficial later, especially for performance optimization, complex queries, or when working outside of Django.
072391
Achiever’s
Charly
Francis
Sorry I can't understand, I think I explain my problem is there something unclear?
Assuming you are trying to integrate your application with stripe checkout, Could you please provide a bit more detail on the problem you're encountering with the Stripe Checkout integration? Maybe you can share any error messages or describe what isn’t working as expected. It would also help if you could check your grammar so it’s a bit clearer.
Adithya
Can anyone help me, how to generate an html template as pdf in django? And Which library is used and how to do that??
Adithya
But I'm using Tailwindcss as my frontend, hence it's generating raw html as pdf. Weasyprint doesn't support tailwindcss
A.L
Can anyone help me, how can I using a variable in a specific template in another template directly?
Adithya
Thanks 👍
Francis
Can anyone help me, how can I using a variable in a specific template in another template directly?
I have been doing some research, and I think direct access to a variable from one template in another is not supported in Django. Instead, you should pass the variable through the context from your views or use template inheritance or the include tag to share the context.
you can try sharing a screenshot of the code to try and understand more because I might be talking of the wrong thing
Maxim
AZ
What kind of advice is this 😳
I build a website without knowing MySql, it is good to know but you can build websites without knowing it, Django will take care of it remove updating and creating columns and fields
AZ
The website is build is e-commerce website, i used django rest framework and i created django as backend only then with js frameworks with vuejs i build the frontend for users then i connected them together with requests, so i build this without knowing Mysql or postgresql, but I think should you take looks about databases how it’s works so you will have a good knowledge about your project.
Francis
072391
AZ
Z
Hi, I’m new to Django and working on an EV charging slot booking app. At the start of the project, I'm stuck with implementing the Sign-Up/Login functionality. I need to allow users to create accounts and log in securely.
The features I’d like to include are:
Email verification after sign-up
Password encryption
Optional two-factor authentication (2FA)
Custom HTML forms for both Sign-Up and Login (instead of using Django’s default templates)
Could you please guide me on how to implement these in Django, or point me to the best resources for building these custom forms and integrating the security features?
Pablo
Sahnoon
Hello, does anyone know about "cross-site scripting (XSS) and SQL injection prevention" & it's implementation in django?
Charly
Sahnoon
Rupesh
Francis
Kasem
Hart
Hello friends,
My team and I built an hotel management system with bootstrap and Django then hosted it on render.
But we are having some issues with the website.
When the hotel makes a reservation and we update our code and push to github, the website will deploy again and return total reservation to null
Please how can we stop the reservations from going to null.
Adithya
Can anyone tell me, if it is possible to integrate React in django without using drf?? Like using react in django templates
Mirco
Mirco