Vijay
?
Python Guy
import django_heroku, - reportMissingImports- stackoverflow said to install psycopg2==2.9.2 first , i did but still i am getting same error
LazyCoder
Python Guy
import django_heroku
import environ
both are underlined
Anonymous
please suggest me best tutorial for learning django ?
Anonymous
on youtube ?
LazyCoder
Anshu
Charly
Charly
Python Guy
The above exception (relation "users_customuser" does not exist LINE 1: ...omuser"."email", "users_customuser"."branch" FROM "users_cus... ^ ) was the direct cause of the following exception:
What it means? I created super user and fill all credential
Charly
Python Guy
Alireza
Jaya
hey can anyone tell me why i am unable to send mails using EmailMultiAlternatives in django though successful compilation
Maxim
Jaya
compilation?
yes i mean it was running fine over script without any error message, though i can't find any mail in my gmail id
Anshu
Jaya
ok
Fan / Ac
should i use one of my unique field as primary key or use the autoincrement default one
Fan / Ac
i see lot of arguments, like to know what are the suggestions
Python Guy
WebSocketClient.js:16 WebSocket connection to failed: What's wrong with it, problem is in backend but most of people are using node in internet. What should I do in Django
Python Guy
I think problem is in ASGI file.
but it is just blog so no need of real time chat
IDK
are you launching web socket app
IDK
if yes so you should run asgi application with daphne, also in order to deploy with gunicorn you need another library uvicorn
Rafael
Hello guys .. i am new in django and i would like to know if the best way to create a backend is customizing the django admin or creating a new one. Thx
...
Mirco
Navin
Hi. I have one issue in django admin
When I try to access admin page.. It shows
DatabaseError at /admin/
ORA-00918: column ambiguously defined
But I didn't create any table in my database and Connect it with django.
Please help
Python Guy
Mirco
Again ? I've already told you that yesterday
Stop spamming it
If it's still not clear, study the documentation
Navin
Navin
Now it was fixed when I turn my debug = False
But now when I go to admin page.. It shows server error 500
Mirco
Вова
HI guys!
it's my forms.py
class Form(Form):
def show(self,number):
self.number = CharField(initial=number,required=False,max_length=13,widget = TextInput(attrs={}))
When i try to pull it out I have this error:<django.forms.fields.CharField object at 0x7f272ac5fdd0>
How I can correct it?
Вова
Вова
These are not real files, they look something like this because I cannot send a file with 2000 lines of code)))
Azamat
Вова
Show the full error
sorry, I sent the wrong error, app didn;t show the error, but instead charfield html shows <django.forms.fields.CharField object at 0x7f272ac5fdd0>
Shukurillo
Hi guys, I changed my timezone in settings.py, but it shows me different when I check via a module. What can I do?
Anshu
Monday
Cynthia
Anonymous
hey can someone tell me about dependent dropdownlists
Anshu
Anonymous
yes
Anonymous
but some others method then creating models or using foreign key in it
Anonymous
tell me another way to do this
Jerome
andrey
Hi.
Trying to resize picture, while upload it via django rest framework api.
Found several examples. All of them re-define save() method in model.
Questions:
1) why don't resize image in view?
2) how to transfer required size of image in model w/o saving it?
Saw
Hello, please who can help me to implement minicon algorithm for web service composition in python ?
Stranger
Tasks in the celery do not start, what could be the problem?
ARTUR
kind, how to specify the path to the file
ARTUR
?
ARTUR
cred = credentials.Certificate("/static/pilka-29d12-firebase-adminsdk-l2ww5-8255564c15.json")
ARTUR
does not work
Dot enum
andrey
U can use third party packages like PIL.
sure. but PIL is about resize itself. i asked about "where it's better to do - in model or view". but seems like i understood already.
anyway, thanks for reply
Muhammadyor
Hello, i am integrating my project with cloudburst based system. When they send request to my endpoint they are recieving this error:
```HTTP POST error: SSL certificate problem: unable to get local issuer certificate```
can anyone help with this please?
Anshu
Hari
http://dpaste.org/sDCQ
Hari
admin site get first object only
Njain
I have error related custom tags
Njain
Can anyone guide me
Njain
?: (templates.E003) 'custom_tags' is used for multiple template tag modules: 'Student.templatetags.custom_tags', 'Member.templatetags.custom_tags', 'Company.templatetags.custom_tags', 'Notification.templatetags.custom_tags'
Doragonsureiyā
Rule 5️⃣: To share code or error tracebacks, use an online pasting service like:
- https://dpaste.org
- https://linkode.org
- https://hastebin.com
- https://bin.kv2.dev
If you posted a wall of text, go back and delete it.
Vaibhav
Isn't it self explanatory?
Njain
I have custom tag error
Njain
Custom tags are not loaded
Njain
Yes
Njain
Ashish
SELECT fleet_driver.id, fleet_hiring.status from fleet_driver
left join fleet_hiring on fleet_driver.id=fleet_hiring.driver_id
WHERE (fleet_driver.id<4253 ) or (fleet_driver.id>=4253 and (fleet_hiring.status='Allocation Completed' or fleet_hiring.status='Training Completed'))
Ashish