The load_data script is being deprecated. The preferred way to do it is : python manage.py satchmo_load_store
Does that work correctly? -Chris On Mon, Nov 10, 2008 at 12:10 PM, kbochert <[EMAIL PROTECTED]> wrote: > > Aha! seems to be an error in load_data.py > > in 2 places <country="US"> should be <country=store_country> > > also the 'a3=' statement should include a <store=store_country> > parameter > > Kael > > > On Nov 10, 9:37 am, kbochert <[EMAIL PROTECTED]> wrote: > > I got the latest versions - Satchmo (1684) and Django 1.0 (final). > > Works until I try > > python load_data.py > > > > which gets as far a 'Creating Customers' and fails at: > > # Import some addresses for these customers > > a1 = AddressBook(description="Home", street1="8235 Pike Street", > > city="Anywhere Town", state="TN", > > postal_code="38138", country="US", > > is_default_shipping=True, contact=c1) > > > > Which generates (from Django\db\fields\related.py) > > > > ValueError: Cannot assign "'US'": "AddressBook.country" must be a > > "Country" instance. > > > > Sound familiar to anyone? > > Any hints? > > > > Kark > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
