هادی
Friends, is it Ok to use this field for the user mobile in my model.py? models.PhoneNumberField(_("")) Thank you for your guidance or reference for reading
Ali
Hi Is django admin best for production or we should design new admin dashboard?
ERMIA
Hi Is django admin best for production or we should design new admin dashboard?
It's great for technical admin panel for tech admin, no any user
Dev
when to use async operations in Django. Can anybody tell? Is making async database calls good?
Shahrukh
Hi Is django admin best for production or we should design new admin dashboard?
Depends on what u r designing. If the panel is going to access frequently then customize it for better user experience and if u r designing for particular admin then u can use same.
TonFutures 💎
Hi everyone, i have a question When we set cache in django ( default cache) , my cache where is my cache save? ‌Memory in server?
Enlighting-man
hi, when I execute Gunicorn I get this error: connection to server on socket "/var/run/postgresql/.s.PGSQL.5432" failed: FATAL: role "admin" does not exist, can you help me!, thank you.
Hi -i found the error, was the .env configuration, I was not taking the DB configs correctly, could you give me an example using this correctly.
NK TRIPLLE
Hi -i found the error, was the .env configuration, I was not taking the DB configs correctly, could you give me an example using this correctly.
No, the problem is that you don't have an admin user created, create one or use the standard postgres user.
Tejas
Hi fellows I just started Django and I want suggestions form you experts in django and I also want to know how to approach django in a best ways please give me suggestions as newbie...🥺😅
Laxmi
How to Create a PDF from Existing Data Using the ReportLab Library
Charly
How to Create a PDF from Existing Data Using the ReportLab Library
Start by reading the documentation of reportlab
Singularity Sikesh
How to Create a PDF from Existing Data Using the ReportLab Library
Would be better if you use pdfkit for pdf creation.pdfkit is wrapper for wkhtmltopdf utility
Anonymous
Hello everyone on I have 4 personal projects with django and django restframework
Anonymous
All are big projects can anyone can sujjest best free cloud to deploy it on live
Anonymous
Allredy I am tried with Azure but it is only for 30 days I need at least 3 months for live
Charly
All are big projects can anyone can sujjest best free cloud to deploy it on live
Big projects and free?? Do you understand that's not very likely wot work?
Anonymous
Big projects and free?? Do you understand that's not very likely wot work?
It is our personal projects I am seeking for job so I need to showcase my skills
Anonymous
AWS and google have extended free tiers
I am tried with AWS but when I am tried to build with elastic beanstalk it is working too slow
Nir
Hey I have overridden Abstract user , when I call set password method the password would store in the database without getting hashed also check password method returns false always is there any additional config i need to make ?
Haya
hey can receive Emails in Django to store it in the database
Anonymous
We don't have the default feature in django so we need to used IMap or 3rd party application's like mailgun,Postmark,AmazonSes
Arockia
Nir
Hey I have overridden Abstract user , when I call set password method the password would store in the database without getting hashed also check password method returns false always is there any additional config i need to make ?
def CreateUser(self,validate_data): password = validate_data.pop('password',None) instance = self.Meta.model(**validate_data) if password is not None: instance.set_password(password) instance.save() return instance
King David
Django ck editor box encode decode
King David
Any ideas friends
Charly
Any ideas friends
Dude, you need to explain your issue in a detailed eway.
Tamerlan
hello i want deploy django project to railway
Tamerlan
but i get this error The start command is invalid. Start command: gunicorn 'talent_score.wsgi'
Tamerlan
i alse get gunicorn on my requirements.txt file
Anonymous
once check gunicorn is listed in dependency file
Tamerlan
yes settings is on my talent_score folder
Tamerlan
on my local machine is work well
Anonymous
try it like gunicorn talent_score.wsgi
Anonymous
i don't have idea in railway but i am deployed my projects in render
Doragonsureiyā
on my local machine is work well
Rule 5️⃣: Never post walls of text or screen photos. Use paste bins like https://hastebin.com, https://nekobin.com, https://dpaste.org (or your favorite one)
Anonymous
gunicorn is listed then check your start command
Tamerlan
try it like gunicorn talent_score.wsgi
In local machine i run this comand it is work
Tamerlan
But when i deploy to railway it get error
Anonymous
Anonymous
try it like gunicorn talent_score.wsgi
once try it in these way still you are getting error then go with documentation
Tamerlan
once try it in these way still you are getting error then go with documentation
I have docker file on my local project that is why server is make mistake
~
Is it possible to make a separate template without inheriting base.html in Django-registration-redux?
Sree
I have ecommerce project...with some errors can anyone solve
Doragonsureiyā
Anonymous
hey i need help with login page i need to create a login page which is connect to database and depending upon there hierarchy order they can acess i am building in django
T
Rule 5️⃣: Never post walls of text or screen photos. Use paste bins like https://hastebin.com, https://nekobin.com, https://dpaste.org (or your favorite one)
Anonymous
Send your code
i just needed an idea that we can do this or not and by which method
ashu
Hey guys can u give some basic idea how I connect my contact page with django where message is goes to direct official mail ?
Georg
whats up guys. Is it possible to run multiple beats for celery to run different tasks ?
Georg
so how can I separate the tasks between two beats ?
T
Hey guys can u give some basic idea how I connect my contact page with django where message is goes to direct official mail ?
You can covert the msg data into the text and then through email you can send that data to your official mail id
Anonymous
Anonymous
i hope now it is resolved 😊
Tamerlan
docker file is common one it is not the error
Noo it is not error but it is a problem because server get my docker file and my docker file config is false
Doragonsureiyā
❎ ‎Charly pardoned ‎Arunava [937708971] for 2/3: ‎Rule 1️⃣: Speak English.
Александр
Hi all. I encountered a new problem. I want to make a chat on the site between registered users. I realized that I need to do this through “sockets”. But everywhere it is written about “rooms”, but in large applications there is no such thing?
Александр
This applies to Django, because messages are stored in the database. Should they be served via the API?
Александр
'm confused😭😭
Александр
Maybe when the user visits the site, the socket is already activated? And that's why he sees the latest messages and comments? Although then, in theory, he shouldn’t receive notifications
Александр
You should know what you want to do design your chat What other websites describe is not relevant
I want one user 1 to write to user 2 without him having to refresh the page to see the message
Vishnu
Any idea about Django based live network equipment monitor tool
T
You can do it with ajax also with ajaz you save data into the database then show it to others
T
You have to use channels in django for this
But in channels the msg are received to the receiver when he actives on Websocket