Almost resolved :)

I tried everything to find the error and finally I did, but I don't
know how to resolve :(

the error is casued by this line in a imported script:

CITY_URL = reverse('get_city_list')

if I remove that line the project works fine, but I need that line :(

Ps. the url get_city_list is correct indeed when I call this template:

{% url get_city_list %}

i get the url without errors, also when, from a view I call this code:

print reverse('get_city_list')

in the console I could see the correct url.

PS. The file with the line:
CITY_URL = reverse('get_city_list')

is in the same directory as the urls.py with the get_city_list url

could this help?


Thanks for any reply :)
--~--~---------~--~----~------------~-------~--~----~
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