Re: Vendoring Select2

2017-12-16 Thread Mithlesh Kumar
Hi,

I'm very new to Open Source. I like to contribute to `Django`. How can I do 
so ?

Thanks 
Mithlesh K






-- 
You received this message because you are subscribed to the Google Groups 
"Django developers  (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-developers+unsubscr...@googlegroups.com.
To post to this group, send email to django-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/django-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/748d95d9-4964-4bed-ac01-d4e8d2512dcc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Vendoring Select2

2017-12-17 Thread Mithlesh Kumar
Thanks a lot, Dylan !.

Mithlesh K

On Sunday, December 17, 2017 at 8:41:06 AM UTC+5:30, Dylan Reinhold wrote:
>
> Mithlesh,
> The django project web sites has a page about how to contribute : 
> https://code.djangoproject.com/#Gettinginvolved
>
>
> On Sat, Dec 16, 2017 at 5:35 PM, Mithlesh Kumar  > wrote:
>
>> Hi,
>>
>> I'm very new to Open Source. I like to contribute to `Django`. How can I 
>> do so ?
>>
>> Thanks 
>> Mithlesh K
>>
>>
>>
>>
>>
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Django developers (Contributions to Django itself)" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to django-develop...@googlegroups.com .
>> To post to this group, send email to django-d...@googlegroups.com 
>> .
>> Visit this group at https://groups.google.com/group/django-developers.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/django-developers/748d95d9-4964-4bed-ac01-d4e8d2512dcc%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/django-developers/748d95d9-4964-4bed-ac01-d4e8d2512dcc%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers  (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-developers+unsubscr...@googlegroups.com.
To post to this group, send email to django-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/django-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/24644f50-d5bd-4a41-93b7-0d7f183bc9c2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Provide option to chain QuerySet.order_by()

2017-12-19 Thread Mithlesh Kumar

>
> Can you please tell me where the issues of django are in GitHub ? 
>

Thanks
Mithlesh K 

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers  (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-developers+unsubscr...@googlegroups.com.
To post to this group, send email to django-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/django-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/a976af9f-7f3a-4999-8379-54a9c3af3eb4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Provide option to chain QuerySet.order_by()

2017-12-19 Thread Mithlesh Kumar
Thanks, Adam!

On Tuesday, December 12, 2017 at 2:40:11 AM UTC+5:30, Markus Holtermann 
wrote:
>
> Hi all,
>
> I'm in the situation where I'd like to join two .order_by() calls on a 
> QuerySet without losing the ordering set by the first call.
>
> This was formerly discussed in https://code.djangoproject.com/ticket/9415 
> . I agree that simply changing the current behavior is not going to fly due 
> to its backwards incompatibility.
>
> My proposed API is similarly to force_insert/force_update on Model.save():
>
> class QuerySet:
> def order_by(self, *field_names, append=False, prepend=False):
> if append and prepend:
> raise AssertionError('Can only append or prepend, not both')
> assert self.query.can_filter(), \
> "Cannot reorder a query once a slice has been taken."
> obj = self._chain()
> if not append and not prepend:
> obj.query.clear_ordering(force_empty=False)
> obj.query.add_ordering(*field_names, prepend=prepend)
> return obj
>
>
> class Query:
> def add_ordering(self, *ordering, prepend=False):
> if append and prepend:
> raise AssertionError('Can only append or prepend, not both')
> # ...
> if ordering:
> if prepend:
> self.ordering = ordering + self.ordering
> else:
> self.order_by += ordering
> # ...
>
> I'm happy to open a ticket once I got some feedback.
>
> Cheers,
>
> Markus
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers  (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-developers+unsubscr...@googlegroups.com.
To post to this group, send email to django-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/django-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/0d96cf35-ff76-4147-b665-fa4b79024ad3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.