Re: Changing development server threads type.

2014-06-05 Thread Moayad Mardini
gt; #21978 <https://code.djangoproject.com/ticket/21978>). > > On Tuesday, June 3, 2014 12:43:19 AM UTC-4, Moayad Mardini wrote: >> >> Hi, >> >> The development server currently uses "non-daemon threads" for >> the socketserver, this

Changing development server threads type.

2014-06-02 Thread Moayad Mardini
Hi, The development server currently uses "non-daemon threads" for the socketserver, this has many bad side effects, as discussed in ticket #21773 ( https://code.djangoproject.com/ticket/21773 ). The most annoying disadvantages of that are: 1) Longer time to restart, because the sever has to mak

Re: Make url patterns group kwargs more simple

2014-06-02 Thread Moayad Mardini
Sorry for the typo. I meant to say that I think option A is more Pythonic than option B. I personally like the approach Marc suggested, which is introducing another URL resolver, rather than modifying the existing one. Moayad On 2 Jun 2014 12:36, "Alexandr Shurigin" wrote: > Hi! Thank you for r

Re: Make url patterns group kwargs more simple

2014-06-01 Thread Moayad Mardini
Hi Alexandr, Thanks for the nice suggestion. It's good to try to improve Django in an area you think it might be lacking. I also think this is a really nice feature to add to the framework, which will make it more beginner-friendly. I'll try to discuss what I think is the most important featur