Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6026909
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T04:30:49+00:00 2026-05-23T04:30:49+00:00

How to manipulate right hand side of FilteredSelectMultiplein django admin area. OR Is there

  • 0

How to manipulate right hand side of FilteredSelectMultiplein django admin area.

OR

Is there any way to populate right hand side of FilteredSelectMultiplein django admin area.

In my scenario I want to order elements on right hand side.

Djano Model:

    class Elements(models.Model):

        movements_rel = models.ManyToOneRel('Movements','elements_rel');

        number = models.CharField(max_length=45)
        description = models.CharField(max_length=100)


    class Movements(models.Model):
        sanskrit_name = models.CharField(max_length=45)
        english_name = models.CharField(max_length=45)
        elements_rel = models.ManyToManyField('Elements',blank=True,through='Movements_Elements_Rel',verbose_name='Select Elements')

class Movements_Elements_Rel(models.Model):
    order = models.IntegerField()
    elements = models.ForeignKey('Elements')
    movements = models.ForeignKey('Movements')

can I show Elements in FilteredSelectMultiple widget with right hand side maintaining particular order

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T04:30:50+00:00Added an answer on May 23, 2026 at 4:30 am

    Add

    Class Meta:
      ordering = ('order',)
    

    to Movements_Elements_Rel and the elements will appear with the particular order.

    Another option is to use AdminInline in the admin to manage the manytomany relationship and use this snippet or django-grappelli. Both of them allow you to use drag-and-drop to set the particular order

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Can you recommend efficient/clean way to manipulate arbitrary length bit array? Right now I
Is there a way to manipulate alpha of an image using alpha from another
It seems like there's no way to manipulate the columns of a Gridview if
I am trying to manipulate a conditional string outputted from SAS into the right
If I want to manipulate an HTML tag's properties on the server within an
How do I manipulate textfield variables within an iPhone app? I want to have
Right below the start of the <body> tag, I want to include a script
I want to use custom action filter to manipulate parameters to one action. User
I want to manipulate a cell array and make certain indices of the cell
Do I have this right ... To manipulate files on disk (create, copy, rename

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.