I'm trying a very simple filter.

views.py:
from django.shortcuts import render_to_response
from project.app.models import Table_Name
def browse(request, Field_Name):
    result = Table_Name.objects.filter(Field_Name=Field_Name)
    return render_to_response('template/file.html', {'result':
result})

I get a ProgrammingError, table does not exist, because it tries to
dynamically change "Table_Name" to "Table_Name_Field_Name". Why is it
doing this?
--~--~---------~--~----~------------~-------~--~----~
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