Prasanthari
Check what you are returning after clicking submit
Prasanthari
And please add required fields so that it can't submit empty values
The
ok
The
let me check
The
thanku for the response @PrasanThari
Prasanthari
👍
The
i have passed {request, name.html, {form: 'form'}}
The
inside the template after csrf_token I had given {{form}}
The
form action i had given url 'name'
Anuj
Can you tell how to use form assets
Yusuf
Hey, anybody here used django, channels and mqtt before?
Mirco
Doragonsureiyā
Hey, anybody here used django, channels and mqtt before?
Please don't ask meta questions like:
"Any user of $x here?"
"Anyone used technology $y?"
"Hello I need help on $z"
Just ask about your problem directly! With 60k+ people the probability that someone will help is pretty high.
Also please read: http://catb.org/~esr/faqs/smart-questions.html
Chill
Bro how can I create my localhost link like this public link
Chill
I'm college student please suggest me I doesn't create my project in virtual environment now is it possible to host my project if yes please suggest me
Sh
Anonymous
help me, what's wrong with my regular expression. I want to use variable inside regular expression. But it doesnt work
title__iregex=r'(%s)\s\d$'%post
Anonymous
please
Anonymous
anybody knows how to use variable inside regular expression 🙏
iiiiiiπoW
Hi
I added list_per_page in settings.py and set the value in each model.. is it possible to use this property for all model., With out writing code in each model
Lone
Anonymous
Yes..
Abrar
Abrar
what is the regex for?
Ankush
Can anyone help me with testing,it was in emergency
OneZer0
good afternoon ... can someone who has done unit tests with pytest in django help me?
Chill
Can anyone tell me where do I host my project for free while I'm using python anywhere it's asking for upgrade to work with postgresql other than that any other please tell me to work with postgresql+django
D.O
Chill
Ok thanks dude
Doragonsureiyā
Ok thanks dude
Looking for Django tutorials? you can follow these three recommended ones:
* Official documentation and tutorial
* Tutorial from MDN
* Tutorial from django-girls
Anonymous
Hey anyone online?
Mirco
Doragonsureiyā
Hey anyone online?
Please don't ask meta questions like:
"Any user of $x here?"
"Anyone used technology $y?"
"Hello I need help on $z"
Just ask about your problem directly! With 60k+ people the probability that someone will help is pretty high.
Also please read: http://catb.org/~esr/faqs/smart-questions.html
Anonymous
I need help with add to cart function in my project 😬
Anonymous
Anyone?
Mirco
It's still a meta question, explain your issues
Anonymous
Ok
Anonymous
I am working on a django e-commerce website for educational purposes but I don't know how to add a function called add to cart which will allow users to select products and add them
Mirco
Mirco
One book for example is Practical Django 2
Anonymous
Is it free?
Mirco
The book isn't free, but lots of resources online yes
Anonymous
I saw many youtube videos but they are telling to copy paste or something like that but nobody explains the concept 😅
Mirco
Buy a good book and learn 😁
The one I suggested to u is pretty cheap and good
Anonymous
Kk
Mirco
It explains step by step how to have what you wanna build
Anonymous
Ok
Vishal
Mirco
Vishal
Thanks
Anonymous
Mirco
Doragonsureiyā
Thanks
You're welcome! 😊
محمد دلشاد
like in database or js localstorage?
Anonymous
I want it like this:-
Each user will have different carts for example the things user 1 adds user 2 shouldn't be affected
Mirco
محمد دلشاد
Anonymous
Include
محمد دلشاد
okk then here ir the key
Anonymous
Kk
محمد دلشاد
u will have 2 models in ur project for this purpose
Anonymous
Ok
محمد دلشاد
1 will have some fields like id,transaction_id(null=True),completed(boolean)
محمد دلشاد
default=False for completed
Anonymous
Kk
محمد دلشاد
and this model will be called as Order
Anonymous
Is there any way I can dm you
محمد دلشاد
next u will have a different model called OrderItems
محمد دلشاد
محمد دلشاد
Dm me
Mirco
Kk
Believe or not , if you wanna understand what is really needed buy a book and study
In this way is just another way of "copy" and "pasting"
Anonymous
How😂🤦♂️
Mirco
Even if Lucifer explains very well to u
Anonymous
Anonymous
Ghorz