n
it's go important folder
naveen
In development go to inbox folder. But in production goes to junk foldee
n
in my experience it's always goes to important
cj
If I send the mail from django it goes to junk folder
it doesn't depends on Django but on your email provider
naveen
But why it is running in development perfectly but in production goes to junk.. I searched for a week but don't get result
Mane
Please help me since I integrated the JS I can no longer record the sale in the database
Doragonsureiyā
Mane
I have an image to send but apparently I do not have the right to send any file c a stock management software I wanted to put js to display the total amount and the amount to be returned in a disbled field automatically and in real time since I can no longer record the data I have a problem with redirection
Juan
yeah this works too nvm👍🏻
Hi guys, That Solution worked for me, but I'm getting protected View I'm Excel, anyone knows why and how removet it?
Juan
Office detected a problem with this file. If you edit it, it may damage your computer.
Doragonsureiyā
Please help me since I integrated the JS I can no longer record the sale in the database
Rule 5️⃣: Never post walls of text or screen photos. Use paste bins like https://dpaste.org, https://hastebin.com, https://bin.kv2.dev or your favorite one!
ȺʍìɾⱮօհąʍʍąժ
Hello! I need to create a settings panel similar to Instagram for my project. I'm not talking about the UI, but rather the backend part that has features like "disable" and "activate." I'm encountering some issues implementing this. My problem is that if I create all these fields in a single table, such as a settings table with boolean fields, it loses flexibility. This means that in the future, if I want to add a new field, I would have to do it via hardcoding. Is it even a good idea to put all these fields in one table?
ȺʍìɾⱮօհąʍʍąժ
I didn't get whole context what you are trying to say, why you can't add in future?
Consider Instagram: when you enter its settings panel, there are several categories, like security and notifications, and when you expand each section, more options appear. I want to implement something like this, but I'm not sure exactly what to do. For example, in the notifications section, there are some options you can enable and some you can disable, but this isn't limited to just the notifications section—there are options from various places. Now, I want to create something like this where users can decide whether they want to receive security updates, be notified of new posts on the site, and many other options. How can I differentiate these various settings?
ȺʍìɾⱮօհąʍʍąժ
𝘼𝙗𝙤𝙡𝙛𝙖𝙯𝙡
hello everyone i learn DRF but i have a question.if i want use DRF in my project. should i write all my views with DRF or should i write DRF view for each django view?
Ivan
Hi, has anyone worked with Telegram authentication widget in Django? I faced strange problem widget is not sending requests to the specified data-auth-url and no user data is being received in the backend after user authentication in standard web browsers like Chrome, Firefox, and Edge. However, the widget works correctly in the built-in browser in the Telegram mobile app. The widget loads correctly in all browsers, and the button to log in via Telegram is visible. However, after clicking the login button in most browsers, no request is triggered to the data-auth-url, and no data reaches the server. The only environment where the widget works as expected is within Telegram's in-app browser, where the request is properly sent to the backend. I have already verified the domain registration with BotFather and ensured HTTPS is being used. Even after testing different browsers and disabling potential blockers like ad-blockers, the problem persists. If anyone has encountered this problem before, please help me because I've been trying to fix it all day.
.
I am building a website using django and i am facing some issues in backend for login and registration. I am trying to register a new user and then trying to login with that user, but can't login. I cannot see the new user added on django administration site. PLEASE HELP!!!!! URGENT!!
Doragonsureiyā
I am building a website using django and i am facing some issues in backend for login and registration. I am trying to register a new user and then trying to login with that user, but can't login. I cannot see the new user added on django administration site. PLEASE HELP!!!!! URGENT!!
Is it urgent? You shouldn't be here, wasting time and poking strangers and waiting for them to do your job for you. Search on Google/DuckDuckGo, do the research, and solve your problem yourself, nobody here will drop what they're doing to do your job, just because "it's urgent!". Have a nice day! 😉
Ivan
How do i check the db settings
bro, if u don't know Django at all it will be more useful for you to chat with chatgpt or sonnet
.
I have tried doing it
.
But chatgpt is stuck in a loop
.
It isn't giving any solution to my problem
Ivan
I don't think someone will read your whole code to find what's wrong in it
.
Its just modifying urls.py settings.py views.py and this is of no use
.
I wouldn't have asked you for help in the first case if i would have known this much of django
.
I tried google ,youtube, chatgpt and everything....nothing seems to work taht is why i asked my question here
.
Yes
cv
but you don't see any user data in user's table?
cv
can you open admin panel and check
cv
if you are very beginner then I'll tell you to simply create a registration and login project with the help of any blog from internet. https://learndjango.com/tutorials/django-login-and-logout-tutorial
.....
Hi everyone. How to increase python's  performance? What and How should I write code? What do I avoid things in code? Are there any tips and tricks about increse python's performance?
.....
use Cache..... Redis, also u can use Celery.... if Python you mean Django here 😐
Thank you very much. I'm using also Django ❤️
NEJI
Is there any free courses for django
Aнтон
Hi everyone! I'm just learning Django and got the feedback from reviewer: from django.contrib import admin from .models import Category, Location, Post admin.site.empty_value_display = 'not specified' admin.site.register(Category) - Its the best way to register models through decorator like on this thread: https://stackoverflow.com/questions/31236484/recording-classes-in-django-admin-with-admin-register-decorator admin.site.register(Location) admin.site.register(Post) I cant understand how to do this correct, it does not work Can anyone help me ?
Hoмαυoɴ
!ol
Doragonsureiyā
Python groups in other languages (⚠️Not managed by us ‼️) Amharic @python_amharic Arabic @arabipython Azerbaijani @azepug Chinese @pythonzh French @python_francais German @pythonde Hebrew @pythonisrael Hindi @pyhindi_ot Tamil @pythontamilcommunity Indonesian @pythonid Italian @python_ita @pythonita Kazakh @python_kz Malaysia @pythonmalaysia Persian @pyfarsi Portuguese @pythonbr Russian @ru_python_beginners @ru_python @python_scripts Spanish @PythonEsp Swahili @python_eafrica Turkish @python_tr Uzbek @python_uz If you have an active and well managed group that you want to be listed there, ask in the Meta group, link in the rules page.
حمید رضا عدالت نژاد
django docs
it's too heavy for someone who want to learn
حمید رضا عدالت نژاد
Is there any free courses for django
there is some project base from Codemy you tube channel that is good, and also Meta (facebook) that is teaching the concepts and cloud with django channel and some other good stuff on the youtube , but it goes very deeper than any of these videos are covering and for that you need to jump into the Django documents itself . but it is cool to see those for the start/
Ali
May God bless you. Guys, if I want to test an API using websocket on Postman and I want to send a file, how do I enter the file in the message section?
Charly
May God bless you. Guys, if I want to test an API using websocket on Postman and I want to send a file, how do I enter the file in the message section?
You can't, websockets interchange text information, you may need to send a string representation of the file like base64 but it will be better to upload the file using normal http form
Moussa
Hello devs. I’m getting this error with Google OAuth2 in my Django project: AuthMissingParameter: Missing needed parameter state . I’ve already set SOCIAL_AUTH_GOOGLE_OAUTH2_KEY and SOCIAL_AUTH_GOOGLE_OAUTH2_SECRET in settings.py, but it seems the state parameter is missing in the Google callback. Any idea how to fix this? Thanks
Moussa
i am using social-auth-app-django
n
you will find all you need in chapter 5 in django4 by example
🕹 Alireza 🕹
hi what django course do you guys recommend ?
Doragonsureiyā
hi what django course do you guys recommend ?
Looking for Django tutorials? you can follow these three recommended ones: * Official documentation and tutorial * Tutorial from MDN * Tutorial from django-girls
🕹 Alireza 🕹
インメルマン
or youtube
Currently I'm reading this book. I'm nodejs dev and newbie at django, but for me it looks like good choice. https://www.amazon.com/Django-Example-powerful-reliable-applications/dp/1805125451
cj
or youtube
nothing from there read the official documentation, that's what we recommend here
George
nothing from there read the official documentation, that's what we recommend here
I don't understand why people is buying books without knowing if the docs exist
George
Also, books get outdated PRETTY QUICK
Alex
I don't understand why people is buying books without knowing if the docs exist
Books provide the near perfect balance between getting enough knowledge to learn the concept and structured exercise/project to grasp that concept. Well defense against falling in tutorial hell and analysis paralysis.
حمید رضا عدالت نژاد
hi what django course do you guys recommend ?
there is a Mongard cource in Farsi that is greatest of all . also django with mosh is good , and if you want to know the concepts the Meta cource of django in youtube is also great . and see cloud with django channel , but the very best of all of them is in persian language Mongard by Amir Bigdelu I forgot there is also codemy ecommerce project that some guy named Mr Robot turned it into a persian shop app , you can see it too . it is a very good project base approach for learning django
حمید رضا عدالت نژاد
I don't understand why people is buying books without knowing if the docs exist
documents are documents books on the other hand are intentionally made for teaching , whilst documents are just for reference . a good book can make a hell of a difference and if I want to learn visual C++ I still go and look for some book I read 25 years ago . I had read ten books and I didn't understand anything of it but that book was super amazing
George
reading comprehension please