Compaore
Hello here I’m new and I want to know what this group is talking about
🦍S6t0m1 🍃🦂
I need help, after updating a record a new updated record is created and i dont want that, here is the code : https://pastebin.com/WDCPSwFb
Alireza
https://dpaste.org/b4S6y Why can't my superuser access the models in the admin panel even though the superuser is successfully created?
Doragonsureiyā
https://dpaste.org/b4S6y Why can't my superuser access the models in the admin panel even though the superuser is successfully created?
Rule 5️⃣: To share code or error tracebacks, use an online pasting service like: - https://dpaste.org - https://hastebin.com - https://bin.kv2.dev If you posted a wall of text, go back and delete it.
Saeid
Hello guys, could you please guide me? I wanted to use Jazzadmin on the server where the website is hosted, but it didn’t work. When I tried to revert it back to how it was before, everything broke, and no matter what I do, the admin section doesn’t work! I also ran the collectstatic command on the server, but it still didn’t work! What could be the reason for this? Do I need to adjust any other settings?
Un
Iam trying to build doctor appointment auto response chat bot using openai . Bot is not responding properly. But I check with same prompt in openai playground it is working fine. Any inputs on debugging this. I'm very beginner. Please help me with debugging steps and debugging commands or statements Thanks in advance
Saksham
Hey everyone, i am building a project, and want some guidance. Is there anyone who can help me with it?
Даниил
Hi everyone! I am new to Django and I am building a blog - website with it. With a help of tutorial, of course. How should I read a documentation after I build a blog-website? What is the right way to do it? Should I read the topic guides?
A
Hi everyone! I am new to Django and I am building a blog - website with it. With a help of tutorial, of course. How should I read a documentation after I build a blog-website? What is the right way to do it? Should I read the topic guides?
Try to learn how is it work first. What is views, models, url. What views request object include inside. How you should use and filter qurysets. Try to make lots of mistakes and take notes after solved your bugs. You can read documentation from start to end. Don’t check so deep for first time.
Un
Actually I have integrated with openai and bot has to respond according to prompt. Initially it worked fine. But after some code changes bot responding inappropriately. Even after code reversal aswell. Now it is not working as earlier aswell. So I want to see step by step what happening . And why it is working even I reverted code.
Joe
Installed apps error..while running ipython Who can help solve the error
Joe
Yet I have added the app in settings file
Doragonsureiyā
Installed apps error..while running ipython Who can help solve the error
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! If you don't know what to ask, please read: http://catb.org/~esr/faqs/smart-questions.html
i am osho
Which database should I go for with django?
Yosefua
Which database should I go for with django?
I use postgress, you can use it.
i am osho
I use postgress, you can use it.
Any good resource from where I can learn it .
Mani
Hello Everyone Good Morning
Mani
I want to connect oracle remote db using django but getting internal server error.
Mani
please help, thanks in advance.
Yosefua
Any good resource from where I can learn it .
1. https://stackoverflow.com/questions/5394331/how-to-set-up-a-postgresql-database-in-django 2. https://youtu.be/unFGJhIvHU4?si=3cvXgsiZEqWgznSS
Mani
oracledb.exceptions.OperationalError: DPY-6005: cannot connect to database (CONNECTION_ID=MUq8r4bMgoJlqmn+Zq4vOg==). DPY-3010: connections to this database server version are not supported by python-oracledb in thin mode Help: https://python-oracledb.readthedocs.io/en/latest/user_guide/troubleshooting.html#dpy-3010
Mani
Did you read the error message?
yes and I use the thin mode as well but not able to connected.
clouded
yes and I use the thin mode as well but not able to connected.
Action: You can either: Enable python-oracledb Thick mode since this mode can connect to Oracle Database 9.2 or later. For Thick mode, you need to install Oracle Client libraries and call oracledb.init_oracle_client() in your code.
Mani
Oracle Database 11g Release 11.2.0.4.0 - 64bit Production
clouded
Oracle Database 11g Release 11.2.0.4.0 - 64bit Production
So, it's too old to work out-of-the-box.
clouded
Oracle Database 11g Release 11.2.0.4.0 - 64bit Production
As far as I understand it, you need to enable Thick mode. There's documentation about how to do that.
Mani
already enabled but not getting connected.
Arden
Do you have any recommendations for YouTube channels that cover Django topics?
clouded
For latest news and up-to-date information you should visit the official documentation.
Mohammad🧑🏻‍💻
Hi all group I'm have a learning python freamwork Django now What's teacher best because Teaching Django??? Thanks you
Mohammad🧑🏻‍💻
Chai aur code YouTube channel
Please send link me ?? Thanks you very much
Mohammad🧑🏻‍💻
Thanks you 🙏🏻😊
Siam
Type on search bar " chai aur code python " go to his channel You'll get the playlists
Mohammad🧑🏻‍💻
English language our persian language?
Mohammad🧑🏻‍💻
I have a Persian language
Mohammad🧑🏻‍💻
Persian language best as English language??
Mohammad🧑🏻‍💻
I English language basics And English language advanced??
Maxim
English language our persian language?
only English is allowed here
S8ul
Hello guys I need some help
S8ul
My css is not getting rendered if someone can help
S8ul
In one page it is getting rendered but not in another one
S8ul
https://github.com/mysteriousleo/spm
S8ul
Output.html css not working if someone can fix that
S8ul
<section class = "AnswerSection"> <p class="answer"> {% if answer == "ham" %} Not Spam {% else %} Spam {% endif %} </p> <a href="/" class="backbtn">Back</a> </section>
S8ul
.AnswerSection { width: 100%; height: 100vh; display: flex; flex-direction: column; justify-content: center; align-items: center; } .AnswerSection .answer { color: white; font-size: 5rem; text-align: center; }
Maxim
Output.html css not working if someone can fix that
https://www.google.com/search?q=django+static+files TL; DR: you should use some webserver to host static files
S8ul
Although it is working on index.html all css is rendering in that
Maxim
Hooman
What is Password-based authentication in the UserCreationForm in Django and how do I remove it? from new version when i add i have that how to remove?
S8ul
Please can you fix in code
Maxim
.terrri
Can anyone guide me how do I connect my react app(frontend) with django(backend) in localhost
.terrri
Yes can I run those both of the frontend and backend separately in a localhost by using different terminals
Alessandro
Hello guy's, someone can help me😅 I need to do a app Django to run in https, I use Django with nginx on debian
🦍S6t0m1 🍃🦂
Does anyone know how to UPDATE a record without it creating a new updated record in the database?
🦍S6t0m1 🍃🦂
I have coded this in over 6 different ways and each iteration successfully updates but painfully creates an updated record
🦍S6t0m1 🍃🦂
get it from DB first
I did that , i referenced the record by primary key and created an instance for it and updated that instance
🦍S6t0m1 🍃🦂
In one of my attempts i refrain from using .save() , the update is successful but still creates aNother record