Can you double check and make sure you have the latest version of Satchmo. We recently made a change to that code to accommodate the new name spaces in Django 1.1
-Chris On Sat, Aug 1, 2009 at 3:39 PM, Griffin Caprio <[email protected] > wrote: > > Hi all, > > I recently updated to Django 1.1 for my satchmo trunk instance and now > I'm getting some errors. Looks like the payment/urls.py is bombing > when trying to create the gift certificate urls: > > 1: def make_urlpatterns(): > 2: patterns = [] > 3: for key in config_value('PAYMENT', 'MODULES'): > 4: cfg = config_get(key, 'MODULE') > 5: modulename = cfg.editor_value > 6: urlmodule = "%s.urls" % modulename > 7: patterns.append(url(config_value(key, 'URL_BASE'), > [urlmodule])) > 8: return tuple(patterns) > > At line7, the url() call passes a view variable into the call. The > line that unpacks the view: > > urlconf_module, app_name, namespace = view > > is what bombs. Before bombing, the view variable prints out to be: > > ('product.urls.products', None, None) > ('product.urls.category', None, None) > ('django.contrib.admindocs.urls', None, None) > ('satchmo_store.accounts.urls', None, None) > ('livesettings.urls', None, None) > ('keyedcache.urls', None, None) > ('payment.urls', None, None) > > but then only passes in: > > ['payment.modules.giftcertificate.urls'] > > when it bombs. Also strange is that it seems to try and add them > twice, because I get the line above printed out twice. > > Anyone got any ideas? > > Thanks, > Griffin Caprio - Founder & President, 1530 Technologies, Inc. > [email protected] > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
