Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
TemplateSyntaxError in templates/head.html and get comment node error.
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  1 message - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Iakov Davydov  
View profile  
 More options Apr 11 2011, 9:53 am
From: Iakov Davydov <iakov.davy...@gmail.com>
Date: Mon, 11 Apr 2011 06:53:38 -0700 (PDT)
Local: Mon, Apr 11 2011 9:53 am
Subject: TemplateSyntaxError in templates/head.html and get comment node error.
Hello,
I have django-1.1.4  (is this right?) byteflow installation.
When I open main page I get "Caught NoReverseMatch while rendering:
Reverse for 'admin' with arguments '(u'.',)' and keyword arguments
'{}' not found".
The error expression is: "{% url admin "." %}". I have replaced it
with "{% url admin:index %}".

Also when I try to open comment node from admin i get error:

Environment:

Request Method: GET
Request URL: http://iakov.davydov.name/admin/discussion/commentnode/36/
Django Version: 1.1.4
Python Version: 2.6.4
Installed Applications:
['django.contrib.auth',
 'django.contrib.contenttypes',
 'django.contrib.sessions',
 'django.contrib.sites',
 'django.contrib.admin',
 'django.contrib.sitemaps',
 'django.contrib.flatpages',
 'django.contrib.markup',
 'lib',
 'pytils',
 'accounts',
 'blog',
 'discussion',
 'tagging',
 'typogrify',
 'render',
 'postimage',
 'openidconsumer',
 'openidserver',
 'revcanonical',
 'recaptcha',
 'pingback',
 'watchlist',
 'robots']
Installed Middleware:
('django.middleware.common.CommonMiddleware',
 'middleware.dynamicsite.DynamicSiteMiddleware',
 'middleware.feedburner.FeedburnerMiddleware',
 'lib.threadlocals.ThreadLocalsMiddleware',
 'django.contrib.sessions.middleware.SessionMiddleware',
 'middleware.url.UrlMiddleware',
 'django.middleware.locale.LocaleMiddleware',
 'django.contrib.auth.middleware.AuthenticationMiddleware',
 'maintenancemode.middleware.MaintenanceModeMiddleware',
 'middleware.redirect.RedirectMiddleware',
 'openidconsumer.middleware.OpenIDMiddleware',
 'django.middleware.doc.XViewMiddleware',
 'middleware.ajax_errors.AjaxMiddleware',
 'django.contrib.flatpages.middleware.FlatpageFallbackMiddleware',
 'pingback.middleware.PingbackMiddleware',
 'middleware.profile.ProfilerMiddleware')

Traceback:
File "/home/django/byteflow/lib/django/core/handlers/base.py" in
get_response
  99.                     response = callback(request, *callback_args,
**callback_kwargs)
File "/home/django/byteflow/lib/django/contrib/admin/options.py" in
wrapper
  262.                 return self.admin_site.admin_view(view)(*args,
**kwargs)
File "/home/django/byteflow/lib/django/views/decorators/cache.py" in
_wrapped_view_func
  44.         response = view_func(request, *args, **kwargs)
File "/home/django/byteflow/lib/django/contrib/admin/sites.py" in
inner
  186.             return view(request, *args, **kwargs)
File "/home/django/byteflow/lib/django/db/transaction.py" in
_commit_on_success
  240.                 res = func(*args, **kw)
File "/home/django/byteflow/lib/django/contrib/admin/options.py" in
change_view
  860.         ModelForm = self.get_form(request, obj)
File "/home/django/byteflow/apps/discussion/admin.py" in get_form
  29.                 object_url = urlreverse('admin', args=['%s/%s/
%d' % (obj.content_type.app_label, obj.content_type.model,
obj.object_id)])
File "/home/django/byteflow/lib/django/core/urlresolvers.py" in
reverse
  358.             *args, **kwargs)))
File "/home/django/byteflow/lib/django/core/urlresolvers.py" in
reverse
  304.                 "arguments '%s' not found." % (lookup_view_s,
args, kwargs))

Exception Type: NoReverseMatch at /admin/discussion/commentnode/36/
Exception Value: Reverse for 'admin' with arguments '(u'blog/post/
13',)' and keyword arguments '{}' not found.

Do you have any suggestions?
Thanks,
Iakov


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »