What does your urls.py look like?

Billy_Maze wrote:
> After a successful install of Satchmo 0.9 (and I am using Django 1.1),
> I have been trying to get to the django admin page.  Every time I try
> to go there I get this error:
>
> TemplateSyntaxError at /admin/
>
> Caught an exception while rendering: Reverse for 'admin:jsi18n' with
> arguments '()' and keyword arguments '{}' not found.
>
>
> Has anyone else experienced this problem before?  If so, how do I fix
> it?
>
>
> Here is the traceback:
>
>
> Environment:
>
> Request Method: GET
> Request URL: http://127.0.0.1:8000/admin/
> Django Version: 1.1 beta 1
> Python Version: 2.6.2
> Installed Applications:
> ['django.contrib.sites',
>   'satchmo_store.shop',
>   'django.contrib.admin',
>   'django.contrib.admindocs',
>   'django.contrib.auth',
>   'django.contrib.contenttypes',
>   'django.contrib.databrowse',
>   'django.contrib.humanize',
>   'django.contrib.sessions',
>   'django.contrib.sitemaps',
>   'registration',
>   'timezones',
>   'chatroom.chat',
>   'chatroom.jqchat',
>   'keyedcache',
>   'livesettings',
>   'l10n',
>   'sorl.thumbnail',
>   'satchmo_store.contact',
>   'tax',
>   'tax.modules.no',
>   'tax.modules.area',
>   'tax.modules.percent',
>   'shipping',
>   'product',
>   'payment',
>   'payment.modules.giftcertificate',
>   'satchmo_utils',
>   'app_plugins']
> Installed Middleware:
> ('django.middleware.common.CommonMiddleware',
>   'django.contrib.sessions.middleware.SessionMiddleware',
>   'django.middleware.locale.LocaleMiddleware',
>   'django.contrib.auth.middleware.AuthenticationMiddleware',
>   'django.middleware.doc.XViewMiddleware',
>   'threaded_multihost.middleware.ThreadLocalMiddleware',
>   'satchmo_store.shop.SSLMiddleware.SSLRedirect',
>   'chatroom.OnlineUsers.OnlineUsers')
>
>
> Template error:
> In template /usr/local/lib/python2.6/dist-packages/Satchmo-0.9_pre-
> py2.6.egg/satchmo_store/shop/templates/admin/index.html, error at line
> 15
>     Caught an exception while rendering: Reverse for 'admin:jsi18n'
> with arguments '()' and keyword arguments '{}' not found.
>     5 :
>
>
>     6 :
>
>
>     7 : {% block coltype %}colMS{% endblock %}
>
>
>     8 :
>
>
>     9 : {% block bodyclass %}dashboard{% endblock %}
>
>
>     10 :
>
>
>     11 : {% block breadcrumbs %}{% endblock %}
>
>
>     12 :
>
>
>     13 : {% block extrahead %}
>
>
>     14 : {{ block.super }}
>
>
>     15 :<script type="text/javascript" src=" {% url admin:jsi18n %}
> "></script>
>
>
>     16 :<script type="text/javascript">
>
>
>     17 : var satchmo = satchmo || {};
>
>
>     18 : satchmo.module_status = {};
>
>
>     19 : l10n = {
>
>
>     20 :      show : '{% trans '(show)' %}',
>
>
>     21 :      hide : '{% trans '(hide)' %}'
>
>
>     22 : }
>
>
>     23 :
>
>
>     24 : satchmo.setup_toggle = function(elt) {
>
>
>     25 :      var module = $(elt);
>
>
> Traceback:
> File "/usr/local/lib/python2.6/dist-packages/django/core/handlers/
> base.py" in get_response
>    92.                 response = callback(request, *callback_args,
> **callback_kwargs)
> File "/usr/local/lib/python2.6/dist-packages/django/contrib/admin/
> sites.py" in wrapper
>    192.                 return self.admin_view(view)(*args, **kwargs)
> File "/usr/local/lib/python2.6/dist-packages/django/contrib/admin/
> sites.py" in inner
>    184.             return view(request, *args, **kwargs)
> File "/usr/local/lib/python2.6/dist-packages/django/views/decorators/
> cache.py" in _wrapped_view_func
>    44.         response = view_func(request, *args, **kwargs)
> File "/usr/local/lib/python2.6/dist-packages/django/contrib/admin/
> sites.py" in index
>    366.             context_instance=template.RequestContext(request)
> File "/usr/local/lib/python2.6/dist-packages/django/shortcuts/
> __init__.py" in render_to_response
>    20.     return HttpResponse(loader.render_to_string(*args,
> **kwargs), **httpresponse_kwargs)
> File "/usr/local/lib/python2.6/dist-packages/django/template/
> loader.py" in render_to_string
>    108.     return t.render(context_instance)
> File "/usr/local/lib/python2.6/dist-packages/django/template/
> __init__.py" in render
>    178.         return self.nodelist.render(context)
> File "/usr/local/lib/python2.6/dist-packages/django/template/
> __init__.py" in render
>    779.                 bits.append(self.render_node(node, context))
> File "/usr/local/lib/python2.6/dist-packages/django/template/debug.py"
> in render_node
>    71.             result = node.render(context)
> File "/usr/local/lib/python2.6/dist-packages/django/template/
> loader_tags.py" in render
>    97.         return compiled_parent.render(context)
> File "/usr/local/lib/python2.6/dist-packages/django/template/
> __init__.py" in render
>    178.         return self.nodelist.render(context)
> File "/usr/local/lib/python2.6/dist-packages/django/template/
> __init__.py" in render
>    779.                 bits.append(self.render_node(node, context))
> File "/usr/local/lib/python2.6/dist-packages/django/template/debug.py"
> in render_node
>    71.             result = node.render(context)
> File "/usr/local/lib/python2.6/dist-packages/django/template/
> loader_tags.py" in render
>    97.         return compiled_parent.render(context)
> File "/usr/local/lib/python2.6/dist-packages/django/template/
> __init__.py" in render
>    178.         return self.nodelist.render(context)
> File "/usr/local/lib/python2.6/dist-packages/django/template/
> __init__.py" in render
>    779.                 bits.append(self.render_node(node, context))
> File "/usr/local/lib/python2.6/dist-packages/django/template/debug.py"
> in render_node
>    71.             result = node.render(context)
> File "/usr/local/lib/python2.6/dist-packages/django/template/
> loader_tags.py" in render
>    24.         result = self.nodelist.render(context)
> File "/usr/local/lib/python2.6/dist-packages/django/template/
> __init__.py" in render
>    779.                 bits.append(self.render_node(node, context))
> File "/usr/local/lib/python2.6/dist-packages/django/template/debug.py"
> in render_node
>    81.             raise wrapped
>
> Exception Type: TemplateSyntaxError at /admin/
> Exception Value: Caught an exception while rendering: Reverse for
> 'admin:jsi18n' with arguments '()' and keyword arguments '{}' not
> found.
>
>
>
> Cheers,
>           Billy_Maze
>
> >
>    

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to