I was having the same problem, but with the development version (that is,
1.4+, or soon to be 1.5).

Just remove the {% load url from future %} because the future is NOW! :O

The old {% url %} tag has apparently been deprecated, but I can't find any
notes on this change after 2 mins of googling.

Let me know how it goes.


Cheers,
AT

On Thu, Jun 14, 2012 at 4:00 PM, JeffH <je...@delasco.com> wrote:

> django 1.4
>
> topapp
>   urls.py
>     ...
>     url(r'^shows/', include('shows.urls')),
>   template
>     base.html
>     ... {% url shows.views.customers %}
>
> shows
>   urls.py
>     ..
>     url(r'^customers/$', 'shows.views.customers')
>
> The above works just fine -- everything is happy except for the
> deprecation warning in debug mode.
>
> So I modify base.html  and add {% load url from future %}  to the top, and
> then put single quotes around the argument {% url 'shows.views.customers'
> %} and django goes Boom!
> "django.core.urlresolvers.NoReverseMatch -- NoReverseMatch: Reverse for
> '' with arguments '()' and keyword arguments '{}' not found."
>
> I've become dizzy trying the different methods specified in the docs
> including setting a name= attr in the shows/urls.py
> url(r'^customers/$', 'shows.views.customers', name='fido')
> {% url 'fido' %}
>
> and I get the same message.  Other variations tried:
> {% url 'shows_views.customers' %}  - same error
>
> If someone can help me out,I'd appreciate it.
>
> Best,
>
> Jeff
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/django-users/-/x4uqjgipT9YJ.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>

-- 
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 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to