> but I'm not entirely sure of that since you still haven't provided the
> actual traceback which would show what code, exactly, is running into
> trouble.  Without the traceback I have to fall back on my crystal ball, and
> it's pretty cloudy at the moment.
>
> Karen


My apologies... I didn't see Alex's post.  Google some times collapses
threads on me.  Replacing % with %% seemed to work.  It queries the
database and returns a dataset like this:

((6L, u'WI', u'ST', u'test3', u'test3', u'test3', u'test3', u'test3',
u'PR', u',EQ,FL,HU,', u'test3', u',AC,', u'test3', 1, datetime.datetime
(2009, 2, 7, 15, 38, 43), u'admin'), (5L, u'FR', u'CH', u'test3',
u'test3', u'test3', u'test3', u'test3', u'PR', u',EQ,FL,HU,',
u'test3', u',AC,', u'test3', 1, datetime.datetime(2009, 2, 7, 15, 23,
17), None), (4L, u'GR', u'BI', u'test', u'test', u'testusername',
u'test', u'test', u'AS', u',EQ,', u'test', u',PR,TX,', u'test', 1,
datetime.datetime(2009, 2, 7, 14, 41, 19), None), (3L, u'DR', u'AR',
u'sdf', u'sourcelinktest', u'sdf', u'sdf', u'', u'PR', u',FL,HU,',
u'sdf', u',SV,TX,', u'sdf', 1, datetime.datetime(2009, 2, 5, 12, 30,
30), None))

( that is the value of tms=cursor.fetchall()   )

I'm just not sure how to get the value of tms back up to my template.
I'm passing in the data but when i try to do  {{tms.title }} for
example nothing prints.

Forgive me --- i'm a python and django noob.

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