Jay
You can use raw SQL queries if you want
Yes I know, I just wanted to know if there is a way to convert?
Root
Relate model and see what you want to perform
Fhd
How to customise build functions? Like reset password
Anonymous
action="." what action is executed when a dot is used in action like this?
JINSHAD
Hai all
Anonymous
https://hastebin.com/itekujiruv.py
? Is there any error in my settings .py file.
JINSHAD
I need some helps in manytomany field??
Mirco
JINSHAD
What?
Mirco
What?
received a message from u if I'm not misreading the username
Anonymous
Auto add current login user in django model
Gil
How to do this
Authenticated user will be ever in request.user attrib form a request. Get and set to the model. This is the easy way
Gil
Better try to understand my words, or google, its a common requirement. Set user while saving model
Anonymous
https://hastebin.com/ofovowigem.yaml I've changed my gmail settings too after googling out the solutions to this error. But still getting this error.
Can anyone point out the reason for this error. Seems no one is interested.As I didn't even a single response.😔. Anyways sorry for asking help from you guys.. not even one in 8803 members respond to this.
Omair
Can anyone point out the reason for this error. Seems no one is interested.As I didn't even a single response.😔. Anyways sorry for asking help from you guys.. not even one in 8803 members respond to this.
If you trying somethin along the lines of sending automated email through django. Then the username and password combination for the smtp service you are using is not valid.
Mirco
I don't know your SMTP server so I cannot help you much more
Issa Mshani
Hi friends, I need to deploy machine learning algorithms in django web based platform. I need to make it general that at any time I want to deploy any new algorithm I should not change the code for the previous one. Just like having a class or pipeline which is general for any algorithms which will be pickled
Issa Mshani
Anyone to help with either tutorial or any help
Jeevachaithanyan
a random Trivia about Django - The reason why Django created ( to run the website for https://www2.ljworld.com ) , that website moved to WordPress as their CMS ! :( 🤨
Anonymous
Guys, which is the best field to use for phone numbers in models? Apart from the pypi phonenumberfield....
Anonymous
Meraj
how can i desgin my django back emd web site with adobe xd is it posible ? or some esay way to design front end with out coding
Meraj
tnx and plaese
Anonymous
You can try to use something like uizard.io then export your code as html/css for using the template that you will want
K
Hi , is there anyway to upload image and format it to JSONfield??
K
Hi , is there anyway to upload image and format it to JSONfield??
example : { "title": "Contoh Struktur Organisasi", "img": "https://live.staticflickr.com/65535/48534171791_cf51cdca57_m.jpg", "alt": "Struktur Organisasi" }
Gyalzen
I want to add google maps in my django app. How can I do that?
Doragonsureiyā
I want to add google maps in my django app. How can I do that?
Step 1: Open a browser Step 2: Write down https://google.com or https://duck.com and press Enter Step 3: In the search box, write down the same words you asked here Step 4: Read the first results
Anonymous
Sup guys... My code was rendering fine now throws this error for no cause... TypeError at /products/order-summary/ unsupported operand type(s) for *: 'int' and 'NoneType'
Doragonsureiyā
Why the error please.. Somebody help
Lesson number one: Always read what the machine tells you
Jeevachaithanyan
Why the error please.. Somebody help
google the errror code will land you to the stackoverflow
Jeevachaithanyan
// *: 'int' and 'NoneType' // you are trying to multiply an integer with some thing not a number type ? ? check your code
AliReZa
how create chat api with django?
Doragonsureiyā
how create chat api with django?
Step 1: Open a browser Step 2: Write down https://google.com or https://duck.com and press Enter Step 3: In the search box, write down the same words you asked here Step 4: Read the first results
Anonymous
Is there anyway to develop the front end of my Django app without coding I only know html as a front end markup
Anonymous
Thanks
GodKiller
Does there exist a library to use Facebook graph API with Python or Django? The one listed on there site had last commit in 2018. Also it no longer works.
Alex
Does there exist a library to use Facebook graph API with Python or Django? The one listed on there site had last commit in 2018. Also it no longer works.
what's wrong with the official facebook client? https://facebook-sdk.readthedocs.io/en/latest/api.html
GodKiller
Facebook Graph API policies have changed from March 2020
GodKiller
what's wrong with the official facebook client? https://facebook-sdk.readthedocs.io/en/latest/api.html
It's last release was in 2018. I tried using it. It no longer works. Moreover it's not official Facebook client. It's written on their page
Alex
It's last release was in 2018. I tried using it. It no longer works. Moreover it's not official Facebook client. It's written on their page
I don't if it will work, but you can try to install it from the repo https://github.com/mobolic/facebook-sdk/issues/482
Anonymous
Which would be better for a medium sized project? Using react with django-webpack-loader or building an api and a standalone react app?
Anonymous
https://dpaste.org/T7R4 Please help me and review the error please
cj
https://dpaste.org/T7R4 Please help me and review the error please
you should learn how to debug your own code 🤷🏻‍♂️
cj
with what you're showing, nothing can be done to help you solve your problem
Anonymous
you should learn how to debug your own code 🤷🏻‍♂️
I debug myself bro... I would appreciate if you help me with this one
Alex
https://dpaste.org/T7R4 Please help me and review the error please
I assume that here return self.quantity * self.item.price one of arguments is None. It is your job now to get into why is that happening.
cj
I debug myself bro... I would appreciate if you help me with this one
1. I'm not your bro 2. as I already said, with what you showed, nothing can be done to solve your problem, you should debug it yourself on that function to see which of those values is None
Anonymous
I assume that here return self.quantity * self.item.price one of arguments is None. It is your job now to get into why is that happening.
This code renders fine and just throws this error all of a sudden... I can't find any bug in it
Jeevachaithanyan
1. I'm not your bro 2. as I already said, with what you showed, nothing can be done to solve your problem, you should debug it yourself on that function to see which of those values is None
Speaking of debugging, is it true that Django / python is less verbose and bad at debugging ?? I read some articles / discussion in that way compared PHP/Laravel and Django/Python .. Any points to share ?
Jeevachaithanyan
All languages and tools can be debugged. Left for you to do research
Not for the argument, but I read like that, Python debugging is harder than PHP or so ? May be another internet meme 😃
Sadra
Such a place that everyone posts everyday. I've learned a lot from Medium. Everything depends . :)
Nayan
Hi , can anyone help me with qr code stuff?? I want to scan the qr code and create a new record in database against the particular name
Abdulloh
Hi everyone I have picture_links in my db if there is no picture 'N/A' is written instead of picture_link can I put default picture url if it is equal to 'N/A' like: <img src= " {{ item.url if item.url != 'N/A' else 'https: .... png' }} " > ?
Abdulloh
if i write like this TemplateSyntaxError
Nayan
Hi , can anyone help me with qr code stuff?? I want to scan the qr code and create a new record in database against the particular name
I can relate simply now with the shopping store machine , where you scan something and it gets added against your name or phone no ... Can anyone guide what will be the best approch to do this ???