Hi all --

   There's something really screwed up with the urlresolver system,
and I haven't the faintest idea what to do to begin debugging it.  I
have a template with the following tag in it:

{% url myapp-login %}

... and the following code in my urls.py configuration ...

    url(r'^myapp/login/$', 'myapp.users.login', name='myapp-login'),

   This wasn't working on my home machine last night, but was working
on my office machine this morning, with identical code and
configuration running in both places.  Now, this code throws a
TemplateSyntaxError "Caught an exception while rendering: Reverse for
'mysite.myapp-login' with arguments '()' and keyword arguments '{}'
not found."
   The only change I made in the interim was in the view code -- I
changed the line:

         print "user: " + request.user

   ... to:

         print "user: " + request.user.username

   Changing the line back does not solve the problem, nor does
restarting the server.

   Does anyone have any idea what's going wrong here?

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

Reply via email to