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 8276477
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T08:23:09+00:00 2026-06-08T08:23:09+00:00

I am getting a bit confused with uni-direction mapping and bir-direction mapping. Suppose i

  • 0

I am getting a bit confused with uni-direction mapping and bir-direction mapping.

Suppose i have

class Organisation

That has many to many association with country.

So a country can have many organisations and organisation can belong to many countries

Now this should be uni-direction or bidirection from ORM point of view.

Because i want that when i create organisation. It should have select box for selecting country

But when i create country , then it should not always ask me to select organisation. But i do need to get the list of organisations in particular country.

So what should i do

  • 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-06-08T08:23:11+00:00Added an answer on June 8, 2026 at 8:23 am

    Because it seems to be that you quite often need to navigate from the Organisation to collection of connected Country entitities and also to inverse direction, you need bidirectional relationship between these two.

    Nature of many-to-many relationship is optional. When you create new instance of Country, you are not forced to select Organisation(s). Model allows you to do so, but it is not obligatory. Both Country and Organisation can exist without any connected entities.

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

Sidebar

Related Questions

Getting a bit peeved now; I have a model and a class thats just
I'm getting a bit confused with UIViews recently, I have been using them fine
So, I'm a bit confused on this error that I'm getting while compiling/linking a
getting a bit confused over this problem... I have an administrative part of my
I'm getting a bit confused with this homework i have to do for college,
I am getting a bit confused. I am creating an app with storyboard, and
Switching to GCC for the first time, and I'm getting a bit confused by
I am getting myself a bit confused about how to go about this. My
I have a problem getting password_Reset_confirm bit working. url: (r'^password_reset/$', 'django.contrib.auth.views.password_reset'), (r'^password_reset_done/$', 'django.contrib.auth.views.password_reset_done'), (r'^password_reset_confirm/(?P<uidb36>[0-9A-Za-z]+)-(?P<token>.+)/$',
I'm getting a bit confused on how to use the simulator to build applications

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.