Mirco
Toni
Mirco
Денис
Mirco
Денис
Ah, that’s Russian problem. Opened via proxy
Mirco
Abhi
how to get event id after creating event on google calender?
Abhi
I am able to create an event but unable to get event id at that time
Mirco
Study a bit more on it
Fedor
Hey guys. Its a question about django channels.
I’ve read that in connect method i am able to acess to user via
self.scope["user"]
However when i do that I get Anonymus user. So the question is, what should client send me to be authorized?
I have tried to send Cookie through handshake, but that did not work.
Sebuhi
Sebuhi
Fedor
Yeah, I did.
application = ProtocolTypeRouter(
{
"websocket": AuthMiddlewareStack(
URLRouter([
path(‘’ws/app-routing’’, WSConsumer),
])
),
}
)
Claudio
Hi everyone, which editor/ide do you use for your django development
I have tried pycharm but it has also things i do not completely need, and atom but it does not have django templates when i type code
Which advices do you have?
Lamepic
Mirco
I will, thanks
It has good integrations with templates for example
Claudio
Mirco
The same
Claudio
Cool 😎
Mirco
Cool 😎
The python plugin is done by Microsoft and into the team there's one of the best python core dev
🏳️🌈Robby [ Private Message = Spam]
Claudio
Mirco
Firdaus
Python plugin for VS Code was originally a community effort lead by this guy https://github.com/DonJayamanne/pythonVSCode
Then I believe MS hired him and the plugin become an official and under MS umbrella
cj
Jorge Luis
🤔
Fil
I use Vscode and Atom
Anonymous
https://hastebin.com/powupucitu.sql
Anonymous
Can anyone convert this into queryset
cj
Anonymous
No i can't
Ori
Can anyone convert this into queryset
You could try looking into annotations and subqueries, these should allow making at least a very similar query.
Sorry, that's all I can do atm.
Akash
I have a django project with 50 models.
Is there any easy way to implement DRF and serialize all models with all fields
Or I have to create individual serializer for each model
Anonymous
Himanshu
anyone using pycharm community version - i am not able to import apps in urls.py
Himanshu
can u tell me how to configure
Himanshu
if you don't know want to answer then don't reply (i had already searched on Google that'sy i am here .)
cj
cj
things about editors/IDEs is out of the scope of this group
Himanshu
🏳️🌈Robby [ Private Message = Spam]
Anonymous
Which database is best for django application?
Shivam Negi
Postgres
cj
Baggy ️️
I have setup Google oauth in my django project but after I logout.
And click login again it doesn't ask me to choose new email
It again directs to the previously logged in email account.
How to make this work?
Happy
Is there a /nick command ?
Happy
Sorry
Rohan
Lalit
When I change my CSS file save in static directory it can't reflect the change.
Ori
Baggy ️️
John
I'am using django 2.2, I am trying to cuztomise my 404 error. But most of the tutorials and stuff in the internet is for django 1.9, need a little help on this. thanks!
John
handler500 = 'mysite.views.my_custom_error_view'
here, the 'mysite' is the name of the project or is it the name of the app?
Ori
John
@chomuchomu do i need to import that app?
Ori
John
but i goit an error saying that:
NameError: name 'myapp' is not defined
Ori
Did you put this string in quotes?
John
oh! Sh*t! Grr!. . didnt see that coming. . HAHAHA. .
Ori
Heh :)
Avinash
Any django experts?
Avinash
Make a field point to non key field of another model?
Mitesh
Hello
Mitesh
I have problem in Django.... Can any one help me
Mitesh
I want to share images so can understand but I can't send media due to restrictions...
Mitesh
If any Django expert.. Plz cantact me pc
Mitesh
I want to develop website like hackerrank...
Maksim
What's problem
Anonymous
while importing ldapsearch from django-auth-ldap3 it is not found
Anonymous