I see no reason to report anything now and you wrote here a good summary. (I had an window with incomplete answer open for long time and did not see your second post.)
Fixes for 1.4 are not all committed. It will continue tomorrow. I felt from the beginning that this will be resolved. --Hynek On 22 dub, 22:32, Malcolm MacKinnon <[email protected]> wrote: > Thanks for replying, Hynek. In answer to your questions: > > 1) The duplicated items in INSTALLED_APPS was a mistake and oversight, not > done intentionally. Thanks for pointing this out. > 2) When my urls.py patterns is updated to include the adminpatterns from > apps.product.urls.base, the output is expected as follows: > In [1]: from django.core.urlresolvers import reverse > > In [2]: reverse("satchmo_admin_variation_manager", args=[1]) > Out[2]: '/admin/1/variations/' > > 3) When my urls.py patterns is NOT updated to include the adminpatterns > from apps.product.urls.base, the output is as follows: > > In [4]: from django.core.urlresolvers import reverse > > In [5]: reverse("satchmo_admin_variation_manager", args=[1]) > --------------------------------------------------------------------------- > NoReverseMatch Traceback (most recent call last) > C:\Python27\lib\site-packages\django\core\management\commands\shell.pyc in > <modu > le>() > ----> 1 reverse("satchmo_admin_variation_manager", args=[1]) > > C:\Python27\lib\site-packages\django\core\urlresolvers.pyc in > reverse(viewname, > urlconf, args, kwargs, prefix, current_app) > 474 resolver = get_ns_resolver(ns_pattern, resolver) > 475 > --> 476 return iri_to_uri(resolver._reverse_with_prefix(view, prefix, > *args, > **kwargs)) > 477 > 478 reverse_lazy = lazy(reverse, str) > > C:\Python27\lib\site-packages\django\core\urlresolvers.pyc in > _reverse_with_pref > ix(self, lookup_view, _prefix, *args, **kwargs) > 394 lookup_view_s = lookup_view > 395 raise NoReverseMatch("Reverse for '%s' with arguments '%s' > and k > eyword " > --> 396 "arguments '%s' not found." % (lookup_view_s, args, > kwar > gs)) > 397 > 398 class LocaleRegexURLResolver(RegexURLResolver): > > NoReverseMatch: Reverse for 'satchmo_admin_variation_manager' with > arguments '(1 > ,)' and keyword arguments '{}' not found. > > Again, after including adminpatterns in my project urls.py (as stated > above), I can display the relative url /admin/1/variations/ in the browser > and am able to see all the product variations. > > I will create a ticket and report this. Also, I look forward to seeing the > results of your fixes for Django 1.4. > > Thanks again. > > > > > > > > On Sun, Apr 22, 2012 at 3:30 AM, hynekcer <[email protected]> wrote: > > This is a report that looks you can provide relevant information. > > Previous reports what I remember were without initial information, > > without feedback. You are also fortunate that the previous looked like > > broken urls.py in a complicated user's project or anything fundamental > > broken not related to urls. Your problem looks like a bug. > > > I can not reproduce your bug with using everyhning as you wrote. I see > > only some problems with javascript. BTW you duplicated some items in > > INSTALLED_APPS: > > 'django.contrib.sessions', 'django.contrib.sites', > > 'django.contrib.contenttypes', 'django.contrib.admin', > > 'django.contrib.auth'. Is is intentionally? > > > Can you reproduce it this way? > > $ python manage.py shell > > >>> from django.core.urlresolvers import reverse > > >>> reverse("satchmo_admin_variation_manager", args = [1]) > > '/admin/1/variations/' # expected output > > > Can you display the relative url /admin/1/variations/ in the browser? > > > Please create a ticket and report it there. We would write only a > > summary to this conference, maybe more times. > > > I'm writing some fixes for Django 1.4 to be easy use it in development > > directly after clonesatchmo.py without modifications. Start then with > > it and try to reproduce your steps. (reproduce with a project as > > similar as possible to the default is the best) > > > -- Hynek > > > On 21 dub, 18:41, Mac <[email protected]> wrote: > > > Hi, > > > > I'm trying to use the Satchmo apps as part of a new project using > > > Django 1.4. I understand there may be many backward compatibility > > > issues that will get in my way, but everything was going well until I > > > got this error. > > > > In the admin, as I tried to add a product variation to my product, I > > > got this error. The full traceback is here:http://dpaste.com/735137/ > > > > I've googled this group, and saw this error pop up occasionally in the > > > past, but I was not able to formulate a solution. Is there a fix for > > > this? Any help would be appreciated very much! Thanks. > > > -- > > 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. -- 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.
