These are chat archives for django/django

22nd
Jul 2018
MilanRgm
@MilanRgm
Jul 22 2018 02:22
ok @erip and thanks
David Lau
@dalau6
Jul 22 2018 02:59
Hey guys, what's the best way to integrate Scrapy with Django?
Николай Инкогнито
@mmmsvit_gitlab
Jul 22 2018 18:22
hi all, i have one test task, but dont get answer) How in Django ORM write SQL how select * from table1 where lowercase(table1.name)=lowercase(table1.login) ??? It is possible?
fsecada01
@fsecada01
Jul 22 2018 18:23
qs = QuerySet.objects.filter(foo)
Николай Инкогнито
@mmmsvit_gitlab
Jul 22 2018 18:55
select uppercase(table1.surname) from table1 where lowercase(table1.name)=lowercase(table1.login) ?
fsecada01
@fsecada01
Jul 22 2018 18:56
look up queryset documentation for Django, and look for the Q function. That may help.
Николай Инкогнито
@mmmsvit_gitlab
Jul 22 2018 18:57
ok, th
Blaze
@felyx
Jul 22 2018 19:19
I would like to create a webapp with django but it would also have a couple of endpoints but I do not want to make two separate apps, can I do that with django?
fsecada01
@fsecada01
Jul 22 2018 20:51
You can create an applications folder within your Django session and build your endpoints there. From there, you can connect functionality through your model-view-url workflow.