This should be dirt simple, but isn't working: main urls.py : (r'^comments/(.*)', include('django.contrib.comments.urls')),
comments.urls.py : urlpatterns = patterns('django.contrib.comments.views', url(r'^post/$', 'comments.post_comment', name='comments-post-comment'), etc. in the shell: >>> from django.core.urlresolvers import reverse # neither by the function >>> reverse("django.contrib.comments.views.comments.post_comment") Traceback (most recent call last): File "<console>", line 1, in <module> File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/site-packages/django/core/urlresolvers.py", line 252, in reverse *args, **kwargs))) File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/site-packages/django/core/urlresolvers.py", line 241, in reverse "arguments '%s' not found." % (lookup_view, args, kwargs)) NoReverseMatch: Reverse for '<function post_comment at 0x14e2ab0>' with arguments '()' and keyword arguments '{}' not found. # nor by named URL >>> reverse('comments-post-comment') Traceback (most recent call last): File "<console>", line 1, in <module> File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/site-packages/django/core/urlresolvers.py", line 252, in reverse *args, **kwargs))) File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/site-packages/django/core/urlresolvers.py", line 241, in reverse "arguments '%s' not found." % (lookup_view, args, kwargs)) NoReverseMatch: Reverse for 'comments-post-comment' with arguments '()' and keyword arguments '{}' not found. by copying and pasting the comments/urls directly into my site's URLs, the lookups work correctly. today's update, django svn trunk Revision: 8977 thanks for any help. -f;lix --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---