I'm having a problem where I've essentially duplicated much of the builtin code (including javascript) for the generic.Keyword app and split it out into my own "categories" app which is an MPTT tree of categories. Everything has been duplicated throughout and renamed correctly to refer to 'categories' instead of 'keywords'. It's working... until I submit.
I think the problem is the AJAX request that returns a list of ids is just a list of numbers and has no notion of model. As a result I get double the assignment of keywords and categories or when I remove a keyword from a model the category with the same id is deleted. I'm guessing it's doing two quick AJAX requests and given it's asynchronous the data is used for both? Any ideas? Thinking I'll have to adjust my 'categories_field.js' javascript to be a little more model aware than the built in 'keywords_field.js' along with removing the 'get_or_create' part in the keyword view. -- You received this message because you are subscribed to the Google Groups "Mezzanine Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
