Hi Pooja,

Can you please explain it a little bit like, suppose you are having 10 
tracks in a list and you select 5th, then what do you want while you are 
having two partitions?

first partition - 1st to 4th tracks (before the 5th track)
second partition - 6th to 10th tracks (after the 5th track)

On Monday, 3 April, 2023 at 4:16:29 pm UTC+5:30 Jason wrote:

> seems like what you're asking for is user-defined ordering, and I 
> implemented this for O'Reilly's playlists.
>
> https://begriffs.com/posts/2018-03-20-user-defined-order.html is a great 
> help for the data side.  
>
> On Monday, April 3, 2023 at 12:50:43 AM UTC-4 Pooja Kumari wrote:
>
>> Hi guys... I wanna know if there any build-in function in django to re 
>> order the sequence order... Let me explain I have a playlist where some 
>> tracks are saved now I want to change the sequence order of track and rest 
>> of track will reorder according to given track number. If I assign number 5 
>> to any track rest will automatically start from 1 to 4. Any idea how can I 
>> do that?
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/05f14a1c-2fe2-48e0-9926-9b78f4adf568n%40googlegroups.com.

Reply via email to