This is mostly a general question. I'm just looking for some guidelines on the best way of accomplishing my particular task.
I have an existing Django project, with a pretty large database. This single project also runs 7 different sites. Most of the content is shared across the sites with slight differences in templating etc. I've used Django's sites framework along with a Many-To-Many relationship to the Site object in the bulk of my models, thus allowing the site admins to choose what content shows up where. Anyway, I was planning on using Satchmo's multiple store option to set up 7 different stores, but I was hoping to find a relatively easy way to incorporate all the pre-existing content into Satchmo. The majority of the models I've defined are now going to be products that are sold through Satchmo. My first impulse was to attach a particular model to Satchmo using the Custom Product Module, which I managed to do successfully. For now, let's call my model Paint. Now, as there is a One-To-One relationship between Paint and Satchmo's Product model, all my existing Paint objects don't show in the admin until I assign them a product id that corresponds to an existing Product. This is kind of painful, and requires that I manually change my MySql database, forcing me to do data entry...sigh. My second idea was to export my existing Paint tables, reformat them to fit Satchmo's expectations, then import them as straight up Satchmo products, and possibly extend them with a custom product module later. The only drawback to this that I can foresee is that I'll be forced to rewrite my views and templates. Which route would all of you experienced users suggest, or is there a third option I'm missing? Thanks in advance for your time and patience! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Satchmo users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/satchmo-users?hl=en -~----------~----~----~----~------~----~------~--~---
