vijay
Why?
Seriously... Why? 🤔
Oracle databases are always used for high performance demanding workload while MySQL and progress are used for enterprising applications which deal with writing complex query
Muflone
so oracle and postgres db are not capable of running complex queries?
vijay
It's not like that
vijay
Oracle best use in reading operation and MySQL and possess best use in writing operation
vijay
Postgres
*
Muflone
it seems a fantasy novel
vijay
Bank, market data(share market )...
Etc use Oracle data base base there are more reading transaction than writing
vijay
No bro it's called system and database design
vijay
Yes this is exactly reason
Muflone
no, at all
vijay
Are u familiar with any back office software ?
Muflone
yes, but the question is not relevant at all
vijay
Yes the question is directly relevant
vijay
He is asking which database is best
Charly
vijay
Depends on daily transaction limits
Muflone
let's cut this now, it's meaningless and based on false arguments
vijay
Issue is not here about django and all
vijay
Issue is best use of data base
vijay
If ur project is smaller than use sqlite3
Anonymous
which website best and low cost for django hosting
Anonymous
Anonymous
Anonymous
Martin
Guys
I coded a simple app using django and mongodb with djongo as the ORM backend
One of my models has an embedded filed
(I have a Country and a Brand collection. each brand has a country embedded)
When I want to add new Brand in django admin panel, I get the error " Value: China must be an instance of <class:dict>"
Can anyone help me
Azizbek Xushnazarov
Martin
Show the whole traceback
using http://hastebin.com
There isn't such traceback unfortuntely
All I get is a form error .
Consider this form
Name: Xiaomi
Country: China
When I click SAVE in django admin interface I get the error:
Value: China must be an instance of <class 'dict'>
Targoon
Targoon
make it choice field in your model instance, not in form
Targoon
Azizbek Xushnazarov
Martin
Targoon
how can i use DRF, to retrieve some data from front end, in a register form, and store them in data base?
Targoon
can i get the data in json or jquery format?
Doragonsureiyā
Jitxs
i want to store chat history in database and then render it all again like a real chatting app can anyone guide me how i can do this in django i'm beginner
Charly
Jitxs
i had tried and i know orm little bit but i don't know how to render old chat on same page i think i have some problem with javascript or not sure but can anyone provide a chatting app code/tutorial/or article
Jitxs
the main problem in my code was that when i chat with llm(bot) and hit enter the page reload the bot run in background and send response but then i can't render the response on same page
Charly
Jitxs
then how to update the response on same page ? sorry i don't understand how, i need to get the text i write to backend for bot
Charly
Jitxs
oh, okay thankyou!
agwayne
Did u run python manage.py migrate ?
agwayne
Or have u defined a custom user model
Kridha Singh
I going to work in facial recognition system for transaction or OTP anyone can help me with this project
Maxim
Shailender
I created a user using Django inbuilt class now I have to use its username to show the which is posted by that user what should I do?
Maq
hello everyone, my model is not displayed in admin, can someone help? I’m kinda new to django and have to deal with this project
Maq
4 models are registered, but only 2(BotPhrase and Achievement) are displayed in admin
Ur Friend
Page not found (404)
No Post matches the given query.
Request Method: GET
Request URL: http://127.0.0.1:8000/blog/
Raised by: blog.views.My_post
Using the URLconf defined in tourBlog.urls, Django tried these URL patterns, in this order:
admin/
[name='home']
summernote/
<slug:slug>/ [name='post']
The current path, blog/, matched the last one.
Ur Friend
facing this issue
jack
Ms
Hi guyz what's the deference between passing an context to the serializers or use a model methods instead.
For examle with get object methods u call get queryset and get the full query set and desired obj as well.
But now you want to get all related obj too . My question is . Which way is better in django to handle query and logical. Wher is the best places for these things
Ms
Eventually, do any one have a good example or git repo for best design pattern and
.... in django
Ms
Im quite confused
Ms
Thanks mate
🎣
What do you guys think about the future of Django developerers?
🗽
Caleb
But why it is so unknown in the market compared to JS frameworks?
Js frameworks specially backend js frameworks are used for medium sized and small projects(most of the time), Django is used by all, even f500 companies use Django, so it's not that Django is unknown but because Django is much more advanced and mature, most of the time people don't use Django for small projects because Django's benefits are expressed more on medium sized and big projects.
Caleb
🎣
Alian
Hi
I have a backend app with django
And a frontend app with next js
So i was set token jwt into the cookie in django and its ok when backend and frontend in production and deploy on server but
But when backend on server and frontend run in localhost cookie not set
I try change domain - samesite - secure - … to many different shapes but not work
Gonzalo
Hello, what do you think about wagtail
Gonzalo
https://github.com/magoreal4/Skeleton-Wagtail
Masoud
hi i have a field images in product model , now i want this field get taking photos ,it means multiple no singel ! please healp me for make it , tnx
Shahzodbek
Ashok kumar
Hi I want to send email through django but in google manage account security doesn't has less secure app access how can set googleanage account to send email in django please respond anyone for this
Karan
Hi all, i have a model named student in my django project. I have created 2 api using drf , first to get all students and second to create a new student in db. Now I want to generate a sample resume in pdf format whenever I create a new student entry in db. How can I achieve it?
Muflone
Karan
I am also using post_save signal to notify my backend whenever I create a new student entry in database, can I use the pdf generation logic in Post_save method