I have Django 1.0 and in views.py have following definition:

def vplayer(request,indata):
        path_data=szj.objects.get(word=indata).file_path
        context=RequestContext(request, {
                "indata":path_data,
        })
        return render_to_response("vplayer.html",context)

The funny thing is that passing the value to it using

     (r'^szj/play/(?P<indata>\w+)/$', vplayer)

in url.py results in error (no value found). If I create a variable  
with the same text the element is found in the database.

Am I missing something since the values both look the same (and also  
have the same length)?

Regards,

Boštjan
--~--~---------~--~----~------------~-------~--~----~
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