Replacing ManyToMany relationship in djangoDoes Django scale?In Django Admin, I want to change how foreign keys are displayed in a Many-Many Relationship admin widgetdjango - inlineformset_factory with more than one ForeignKeyDjango - queries across relationshipsHow to express a One-To-Many relationship in DjangoProducts catalogue: filter by parametersHow to save a django model with a manyToMany Through relationship, AND regular manyToMany relationshipsRadio buttons in django adminHow to expose some specific fields of model_b based on a field of model_a?Using Tag model to create ManytoMany relationship

I'm in charge of equipment buying but no one's ever happy with what I choose. How to fix this?

Why escape if the_content isnt?

Purchasing a ticket for someone else in another country?

How do I extract a value from a time formatted value in excel?

Customer Requests (Sometimes) Drive Me Bonkers!

Is the destination of a commercial flight important for the pilot?

What is the best translation for "slot" in the context of multiplayer video games?

Arithmetic mean geometric mean inequality unclear

Class Action - which options I have?

How to check is there any negative term in a large list?

Two monoidal structures and copowering

How do scammers retract money, while you can’t?

Avoiding estate tax by giving multiple gifts

How does buying out courses with grant money work?

How easy is it to start Magic from scratch?

Why Were Madagascar and New Zealand Discovered So Late?

Tiptoe or tiphoof? Adjusting words to better fit fantasy races

Failed to fetch jessie backports repository

How can a function with a hole (removable discontinuity) equal a function with no hole?

Go Pregnant or Go Home

Is HostGator storing my password in plaintext?

Do sorcerers' Subtle Spells require a skill check to be unseen?

Can the discrete variable be a negative number?

How does Loki do this?



Replacing ManyToMany relationship in django


Does Django scale?In Django Admin, I want to change how foreign keys are displayed in a Many-Many Relationship admin widgetdjango - inlineformset_factory with more than one ForeignKeyDjango - queries across relationshipsHow to express a One-To-Many relationship in DjangoProducts catalogue: filter by parametersHow to save a django model with a manyToMany Through relationship, AND regular manyToMany relationshipsRadio buttons in django adminHow to expose some specific fields of model_b based on a field of model_a?Using Tag model to create ManytoMany relationship













0















How can I replace ManyToMany relationship in django with something else .
I heard about multiple select field or multiple choice field module that we can install it with pip.
Is it true?
If it is true how can I use it?



And if there are other ways can you tell me?



Class Post(models.Model):
Title=models.CharField(max_length=30)
Class Category(models.Model):
Name=models.CharField(max_length=30)









share|improve this question
























  • can you explain bit more about what you want to do and what are you facing ?

    – NVS
    Mar 7 at 13:27











  • Look I want to join Post and Category that they have manytomany relationship but i dont want to use ManyToMany . i want to know is that other way to join them without it?

    – HeiSenBerG
    Mar 7 at 14:02






  • 1





    But why don't you want to use ManyToManyField? The UI widget (as you allude to in the post) isn't tightly coupled to the underlying field type.

    – AKX
    Mar 7 at 14:07











  • In general, when asking a question, try to sketch the problem and the end result you're trying to achieve, rather than ask for a specific technical solution. Because it's impossible for us to give an answer if we don't know the exact issue you're facing or what you're trying to achieve. You already decided on a route ("replace ManyToMany relationship") but it doesn't make sense if you want to join Post to Category to not have a many-to-many relationship. If you are specific about what you want to achieve maybe we can come up with a different route.

    – dirkgroten
    Mar 7 at 15:42











  • If you do not want to use many_to_many field then you have to query them separately and get data from both class and can save data in another class or can use data to get your results.

    – NVS
    Mar 8 at 5:49
















0















How can I replace ManyToMany relationship in django with something else .
I heard about multiple select field or multiple choice field module that we can install it with pip.
Is it true?
If it is true how can I use it?



And if there are other ways can you tell me?



Class Post(models.Model):
Title=models.CharField(max_length=30)
Class Category(models.Model):
Name=models.CharField(max_length=30)









share|improve this question
























  • can you explain bit more about what you want to do and what are you facing ?

    – NVS
    Mar 7 at 13:27











  • Look I want to join Post and Category that they have manytomany relationship but i dont want to use ManyToMany . i want to know is that other way to join them without it?

    – HeiSenBerG
    Mar 7 at 14:02






  • 1





    But why don't you want to use ManyToManyField? The UI widget (as you allude to in the post) isn't tightly coupled to the underlying field type.

    – AKX
    Mar 7 at 14:07











  • In general, when asking a question, try to sketch the problem and the end result you're trying to achieve, rather than ask for a specific technical solution. Because it's impossible for us to give an answer if we don't know the exact issue you're facing or what you're trying to achieve. You already decided on a route ("replace ManyToMany relationship") but it doesn't make sense if you want to join Post to Category to not have a many-to-many relationship. If you are specific about what you want to achieve maybe we can come up with a different route.

    – dirkgroten
    Mar 7 at 15:42











  • If you do not want to use many_to_many field then you have to query them separately and get data from both class and can save data in another class or can use data to get your results.

    – NVS
    Mar 8 at 5:49














0












0








0








How can I replace ManyToMany relationship in django with something else .
I heard about multiple select field or multiple choice field module that we can install it with pip.
Is it true?
If it is true how can I use it?



And if there are other ways can you tell me?



Class Post(models.Model):
Title=models.CharField(max_length=30)
Class Category(models.Model):
Name=models.CharField(max_length=30)









share|improve this question
















How can I replace ManyToMany relationship in django with something else .
I heard about multiple select field or multiple choice field module that we can install it with pip.
Is it true?
If it is true how can I use it?



And if there are other ways can you tell me?



Class Post(models.Model):
Title=models.CharField(max_length=30)
Class Category(models.Model):
Name=models.CharField(max_length=30)






django






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 7 at 14:05







HeiSenBerG

















asked Mar 7 at 13:07









HeiSenBerG HeiSenBerG

11




11












  • can you explain bit more about what you want to do and what are you facing ?

    – NVS
    Mar 7 at 13:27











  • Look I want to join Post and Category that they have manytomany relationship but i dont want to use ManyToMany . i want to know is that other way to join them without it?

    – HeiSenBerG
    Mar 7 at 14:02






  • 1





    But why don't you want to use ManyToManyField? The UI widget (as you allude to in the post) isn't tightly coupled to the underlying field type.

    – AKX
    Mar 7 at 14:07











  • In general, when asking a question, try to sketch the problem and the end result you're trying to achieve, rather than ask for a specific technical solution. Because it's impossible for us to give an answer if we don't know the exact issue you're facing or what you're trying to achieve. You already decided on a route ("replace ManyToMany relationship") but it doesn't make sense if you want to join Post to Category to not have a many-to-many relationship. If you are specific about what you want to achieve maybe we can come up with a different route.

    – dirkgroten
    Mar 7 at 15:42











  • If you do not want to use many_to_many field then you have to query them separately and get data from both class and can save data in another class or can use data to get your results.

    – NVS
    Mar 8 at 5:49


















  • can you explain bit more about what you want to do and what are you facing ?

    – NVS
    Mar 7 at 13:27











  • Look I want to join Post and Category that they have manytomany relationship but i dont want to use ManyToMany . i want to know is that other way to join them without it?

    – HeiSenBerG
    Mar 7 at 14:02






  • 1





    But why don't you want to use ManyToManyField? The UI widget (as you allude to in the post) isn't tightly coupled to the underlying field type.

    – AKX
    Mar 7 at 14:07











  • In general, when asking a question, try to sketch the problem and the end result you're trying to achieve, rather than ask for a specific technical solution. Because it's impossible for us to give an answer if we don't know the exact issue you're facing or what you're trying to achieve. You already decided on a route ("replace ManyToMany relationship") but it doesn't make sense if you want to join Post to Category to not have a many-to-many relationship. If you are specific about what you want to achieve maybe we can come up with a different route.

    – dirkgroten
    Mar 7 at 15:42











  • If you do not want to use many_to_many field then you have to query them separately and get data from both class and can save data in another class or can use data to get your results.

    – NVS
    Mar 8 at 5:49

















can you explain bit more about what you want to do and what are you facing ?

– NVS
Mar 7 at 13:27





can you explain bit more about what you want to do and what are you facing ?

– NVS
Mar 7 at 13:27













Look I want to join Post and Category that they have manytomany relationship but i dont want to use ManyToMany . i want to know is that other way to join them without it?

– HeiSenBerG
Mar 7 at 14:02





Look I want to join Post and Category that they have manytomany relationship but i dont want to use ManyToMany . i want to know is that other way to join them without it?

– HeiSenBerG
Mar 7 at 14:02




1




1





But why don't you want to use ManyToManyField? The UI widget (as you allude to in the post) isn't tightly coupled to the underlying field type.

– AKX
Mar 7 at 14:07





But why don't you want to use ManyToManyField? The UI widget (as you allude to in the post) isn't tightly coupled to the underlying field type.

– AKX
Mar 7 at 14:07













In general, when asking a question, try to sketch the problem and the end result you're trying to achieve, rather than ask for a specific technical solution. Because it's impossible for us to give an answer if we don't know the exact issue you're facing or what you're trying to achieve. You already decided on a route ("replace ManyToMany relationship") but it doesn't make sense if you want to join Post to Category to not have a many-to-many relationship. If you are specific about what you want to achieve maybe we can come up with a different route.

– dirkgroten
Mar 7 at 15:42





In general, when asking a question, try to sketch the problem and the end result you're trying to achieve, rather than ask for a specific technical solution. Because it's impossible for us to give an answer if we don't know the exact issue you're facing or what you're trying to achieve. You already decided on a route ("replace ManyToMany relationship") but it doesn't make sense if you want to join Post to Category to not have a many-to-many relationship. If you are specific about what you want to achieve maybe we can come up with a different route.

– dirkgroten
Mar 7 at 15:42













If you do not want to use many_to_many field then you have to query them separately and get data from both class and can save data in another class or can use data to get your results.

– NVS
Mar 8 at 5:49






If you do not want to use many_to_many field then you have to query them separately and get data from both class and can save data in another class or can use data to get your results.

– NVS
Mar 8 at 5:49













0






active

oldest

votes











Your Answer






StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55044540%2freplacing-manytomany-relationship-in-django%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes















draft saved

draft discarded
















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55044540%2freplacing-manytomany-relationship-in-django%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Save data to MySQL database using ExtJS and PHP [closed]2019 Community Moderator ElectionHow can I prevent SQL injection in PHP?Which MySQL data type to use for storing boolean valuesPHP: Delete an element from an arrayHow do I connect to a MySQL Database in Python?Should I use the datetime or timestamp data type in MySQL?How to get a list of MySQL user accountsHow Do You Parse and Process HTML/XML in PHP?Reference — What does this symbol mean in PHP?How does PHP 'foreach' actually work?Why shouldn't I use mysql_* functions in PHP?

Compiling GNU Global with universal-ctags support Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern) Data science time! April 2019 and salary with experience The Ask Question Wizard is Live!Tags for Emacs: Relationship between etags, ebrowse, cscope, GNU Global and exuberant ctagsVim and Ctags tips and trickscscope or ctags why choose one over the other?scons and ctagsctags cannot open option file “.ctags”Adding tag scopes in universal-ctagsShould I use Universal-ctags?Universal ctags on WindowsHow do I install GNU Global with universal ctags support using Homebrew?Universal ctags with emacsHow to highlight ctags generated by Universal Ctags in Vim?

Add ONERROR event to image from jsp tldHow to add an image to a JPanel?Saving image from PHP URLHTML img scalingCheck if an image is loaded (no errors) with jQueryHow to force an <img> to take up width, even if the image is not loadedHow do I populate hidden form field with a value set in Spring ControllerStyling Raw elements Generated from JSP tagds with Jquery MobileLimit resizing of images with explicitly set width and height attributeserror TLD use in a jsp fileJsp tld files cannot be resolved