another option might be the usage of proper default values in the definition of the model:
https://docs.djangoproject.com/en/dev/ref/models/fields/ Am 21.07.2011 um 12:30 schrieb ionic drive: > hello Thomas, > > again thanks for your reply! > I thought i need to digg into this for a while, but comes out i have a > fast decision. I am not doing it that way... Because dumping the data > and fizzling around with it in an editor adding the data that will... > soon i will end up with a broken database. > > Thanks for the hint, but this is not an option for me. > So as soon as if there are not other hints coming, and I hope some more > will fly into my mailbox soon :-)... I will ad a Save Product as new > Product button to the admin area. > Its easier for me doing one time work on the code than fizzling around > with dumped data for the next 10 years! > > Best wishes Thomas > and thanks again for your input! > Ionic > > > > > On Thu, 2011-07-21 at 12:02 +0200, Thomas wrote: >> hey, >> >> I would do the following: >> >> - create one product >> >> - dump the data via dumpdata [1] >> >> - edit the fixture manually - add your products >> (your description sounds like this would be easy) >> >> - load the fixture via ./manage.py loaddata >> >> [1] https://docs.djangoproject.com/en/dev/ref/django-admin/ >> >> >> good luck, >> thoreg >> >> >> Am 21.07.2011 um 11:49 schrieb ionic drive: >> >>> hello satchmo friends, >>> >>> I am searching for a solution of this quite a long time, and I hope you >>> guys and girls do have something I must have missed. >>> >>> I do have to create a lot [I mean a lot :-)] of different kinds of >>> products, which all are similiar about 90%. >>> So for me it would be nice to "kind of copy" an existing product and >>> just edit the last 10%. >>> Right now I do have to retype all the similar 90%, create >>> product-attributes for each. >>> This makes me really tired and does not reflect our great DRY >>> principle :-) >>> >>> Thanks for your help and hints in advance. I am sure there is a better >>> way todo this, than I am doing in right now. >>> >>> One more point. I know about custom products and the variation manager. >>> This is not what I want. I really need individual new products, but in >>> best without retyping the 90% which are similar! >>> >>> Thanks in advance! >>> Ionic >>> >>> Ps.: If there is no solution so far, it would be great to have a button >>> in the admin area /product/product/productXYZ besides save and continue >>> editing something like "save as a NEW product". >>> What do you think? >>> >>> >>> >>> >>> >>> >>> -- >>> 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. >>> >> >> >> >> ------------------------------------------------ >> >> http://thoreg.org >> >> >> >> > > > -- > 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. > good luck, TR ------------------------------------------------ http://thoreg.org -- 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.
