Alex
Alex
Anonymous
check out this messaging app i made: https://github.com/MuhammadSalahAli/TolkProject
Tonnie
игорь/igor
N3CRO
N3CRO
N3CRO
N3CRO
Psycopg binary
N3CRO
I can share you the code in dm if you wouldn't mind
N3CRO
Oh
N3CRO
Np bro its all my badluck :(
Christof
not related to contacts !
N3CRO
Can i past the log here? Don't think i m spammers
N3CRO
Its very long, I can't sent as its not allowed for that long error log
игорь/igor
secret_key not found
N3CRO
Not only that :(
игорь/igor
Joseph
http://dooma.herokuapp.com/
This is an api I created though its not the real work but just part of what I built for someone and wanted to show you guys.
Which I named it anything you can check it out
I used swagger as the interface for describing the restful api
Maset
Is there any way to reduce video quality before upload, like creating a thumbnail from image?
Rahkmanuly
Hello there!
Rahkmanuly
Does anyone tried to build django based document constructor?
1) Like web representation of docx document with the fields?
2) Which user need to feel out and download ready-made document?
Manuel
Enigma
hey im trying to return a foreign key as str in my model but while im trying to add a new one it gives me __str__ returned non-string (type int)
Enigma
my model :
invoice_number = models.ForeignKey(Report, on_delete=models.CASCADE)
Enigma
def __str__(self):
return self.invoice_number
Enigma
also i tried :
def __str__(self):
return self.invoice_number or ''
and
def __str__(self):
return str(self.invoice_number)
and
def __str__(self):
return self.invoice_number.id
5P34R
invoice_number is a foreignkey and when u return that value u need to specify which field in report model to be returned for example
def str(self):
return str(self.invoice_number.id)
here the
invoice_number.id
referce the id of Report model
5P34R
If im wrong pls correct me also☺️
Shoxrux
HI guys. In my project, firstly user scan qr code after then they should get pdf preview. How to render pdf preview in django template. I would be glad if someone shares useful link or a piece of code
Enigma
Arvind G
Guys iam a final year engineering student
I would like to know if Django is good decision to learn in terms of My Carrer, Jobs
Arslan
Yes
5P34R
same error :(
still no output?? are u sure remaining all are correct
5P34R
and Report model have field id and some data exist on that?
Enigma
5P34R
Anonymous
Sorry guys i have a question
I cearte a user field foreignkey and i used model form for other fields to send data to my model; but i wont get user id from form i want send current user id with (request.user) to model with my model form i have. How can i do this ?
Tnx for your help.
Optimus
Anonymous
Barkhayot
Hello
Barkhayot
guys I am trying to learn Django channels and web sockets for django to build chat application with Django
Barkhayot
can u advice me best tutorial adn practices for me please
Arslan
Django channels documentation
Tonnie
Hello, do we push django code to GitHub while still in virtual environment or do I need to break out of it first?
Optimus
Tonnie
Sreekanth
How to movebthe project from local host to live pls tell me the process..
Anonymous
Hi... I want to learn Django with in depth from basic to advanced anyone suggest me to learn with practically through online (free courses like that)
S
S
You can learn from basic
Anonymous
I learned python... Want Django to learn
Anonymous
Thank u
S
Always happy to help
Tanu
ModuleNotFoundError: No module named 'jet' how can solve this
Swapnil
any one please send login screen with redirect on dashboard
Tanu
Mahdi
Tanu
ok
Tanu
django.core.exceptions.ImproperlyConfigured: Error loading MySQLdb module.
shila
Anyone help
shila
In django
Mirco
Doragonsureiyā
Anyone help
Don't ask meta questions like:
"Any user of $x here?"
"Anyone used technology $y?"
"Hello, I need help on $z!"
Just ask directly! The better you are at explaining the problem, the more likely you are to get help.
Asking smart questions
shila
Mahdi
Dd
i am trying to run my project on pythonanywhere but getting following error is there any way to change port on python anywhere Watching for file changes with StatReloader
Performing system checks...
System check identified no issues (0 silenced).
August 09, 2021 - 14:32:52
Django version 2.2.24, using settings 'mysite.settings'
Starting development server at http://127.0.0.1:8000/
Quit the server with CONTROL-C.
Error: That port is already in use.
Mirco
Dd
still it gives same error