Ok, I noticed that my urls.py was out of date, so I updated it and got everything in sync.
Now when I follow the same steps, I get a 404 error, but this is kind of strange because if I look at what url the two subtype options are trying to resolve to I have: Edit Configurable Product: (http://mywebsite.com/admin/product/ configurableproduct/21/) which resolves just fine Variation Manager: (http://mywebsite.com/product/admin/mensruntshirt/ variations/) which gives the below 404 error. Is it possible I have to rebuild my product variations (that would suck)? I also noticed if I now go into the configurable product and try to add a new product variation, it doesn't seem to add it and it acts like it did with no error. Page not found (404) Request Method: GET Request URL: http://mywebsite.com/product/admin/mensruntshirt/variations/ Using the URLconf defined in lyp_website.urls, Django tried these URL patterns, in this order: 1. ^$ 2. ^contact/$ 3. ^admin/print/(?P<doc>[-\w]+)/(?P<id>\d+) 4. ^admin/product/configurableproduct/(?P<id>\d+)/getoptions/ 5. ^admin/doc/ 6. ^accounts/ 7. ^products/ 8. sitemap\.xml$ 9. settings/ 10. cache/ 11. ^admin/(.*) 12. ^static/(?P<path>.*)$ The current URL, product/admin/mensruntshirt/variations/, didn't match any of these. On Nov 17, 1:37 pm, "Bruce Kroeze" <[EMAIL PROTECTED]> wrote: > On Mon, Nov 17, 2008 at 1:17 PM, joshm <[EMAIL PROTECTED]> wrote: > > > I'm using the trunk (rev 1702, but I believe I have seen this quite a > > ways back as well) below are the repro steps, if you have any info > > that would be great: > > > 1) I add a product to the store and save it. > > 2) Select that product from the products list > > 3) Click "Add ProductVariation" under Product Subtypes > > Hmm. It works for me using a completely virgin install, test data only. > > > I get: > > > TemplateSyntaxError at /admin/product/productvariation/add/ > > > Caught an exception while rendering: Reverse for > > 'my_website.satchmo_admin_configurableproduct' with arguments > > '(999999999,)' and keyword arguments '{}' not found. > > OK. Try this: > ------------------ > > $ ./manage.py shell > > In [1]: from django.core import urlresolvers > > In [2]: urlresolvers.reverse('satchmo_admin_configurableproduct', None, > args=(999,)) > Out[2]: '/admin/product/configurableproduct/999/getoptions/' > > ------------------ > > If it fails, then you must be missing that urlpattern. The urlpattern is > loaded from satchmo.urls_base.py, which is itself loaded by default from > satchmo.urls. > > If you have your own custom urlpatterns, you need to look at the example in > satchmo.urls and make sure that you either load the urls from urls_base, or > you manually create them in your urls file. > > -- > Bruce Kroezehttp://gosatchmo.com --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
