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 Kroeze
http://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
-~----------~----~----~----~------~----~------~--~---