Django Channel Multiple Auth

2021-04-05 Thread Mesut Öncel
Hello, I want to have multiple auth classes for the Django channel. Can I increase the websocket key on asgi.py for this? For example: application = ProtocolTypeRouter( { "http": get_asgi_application(), "websocket": AuthMiddlewareStack(URLRouter(websocket_urlpatterns)), "websocket2":

Re: About the ORM icontains operator's disadvantage on PostgreSQL performance and query results.

2021-03-03 Thread Mesut Öncel
Does anyone have a different opinion or will this topic be closed? Mesut Öncel , 1 Mar 2021 Pzt, 13:27 tarihinde şunu yazdı: > Thank you for your detailed explanation. You are right, they have tried to > shape the database suitable for this structure for a long time, but >

Re: About the ORM icontains operator's disadvantage on PostgreSQL performance and query results.

2021-03-01 Thread Mesut Öncel
ostgres >>> also warns that this will have performance impact, which I think is >>> what's being noted in the ticket. >>> >>> I'm not sure there will be an easy or obvious solution here. >>> >>> -- >>> You received this message because y

Re: About the ORM icontains operator's disadvantage on PostgreSQL performance and query results.

2021-02-28 Thread Mesut Öncel
legroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-developers/CAL13Cg9nYMJZwm2XcsCcWG5Fqn8gqqE93FM11Xcfs4TXsmTbZQ%40mail.gmail.com > . > -- İyi çalışmalar. Saygılarımla. *Mesut Öncel* -- You received this message because you are subs

Re: About the ORM icontains operator's disadvantage on PostgreSQL performance and query results.

2021-02-28 Thread Mesut Öncel
e this? We need a custom expression index anyway, so >> it might not be a huge ask to say “now you should use a gin index”? >> >> Tom >> >> On Sun, 28 Feb 2021 at 09:28, Tom Forbes wrote: >> >>> Thank you for the clarification! >>> >

Re: About the ORM icontains operator's disadvantage on PostgreSQL performance and query results.

2021-02-28 Thread Mesut Öncel
A discussion was requested from here to make changes on this issue. Do you think it would be appropriate if I open a pull request for this change? Mesut Öncel , 28 Şub 2021 Paz, 14:06 tarihinde şunu yazdı: > You're welcome. Yes, database administrators can create an index as > desired. H

Re: About the ORM icontains operator's disadvantage on PostgreSQL performance and query results.

2021-02-28 Thread Mesut Öncel
use a gin index”? > > Tom > > On Sun, 28 Feb 2021 at 09:28, Tom Forbes wrote: > >> Thank you for the clarification! >> >> On Sun, 28 Feb 2021 at 09:23, Mesut Öncel wrote: >> >>> Yes, 7 years ago I reviewed the ticket for the updated code, but t

Re: About the ORM icontains operator's disadvantage on PostgreSQL performance and query results.

2021-02-28 Thread Mesut Öncel
yazdı: > Unless I’m missing something, the ticket you linked was last updated 7 > years ago with two now-broken images. Which ticket did you open with the > examples? > > Tom > > On Sun, 28 Feb 2021 at 08:31, Mesut Öncel wrote: > >> The reason I opened all t

Re: About the ORM icontains operator's disadvantage on PostgreSQL performance and query results.

2021-02-28 Thread Mesut Öncel
g your issue > and the performance problems you’ve found (especially around Turkish > characters). I’m not entirely clear what you wish to be changed: you wish > for an expression index to be created automatically? > > Tom > > On Sat, 27 Feb 2021 at 21:13, Mesut Öncel wr

About the ORM icontains operator's disadvantage on PostgreSQL performance and query results.

2021-02-27 Thread Mesut Öncel
Hi, I opened the ticket https://code.djangoproject.com/ticket/3575. In this ticket, I wanted to prove the effect of UPPER function used in icontains operator on indexes and query result. UPPER function causes performance problems regarding indexing in PostgreSQL. Another issue is that it does