Hi to all ,
I have created a view:
(r'^$', 'django.views.generic.list_detail.object_list', info_dict),
In the template I have :
<h1>this is just a test, !</h1>
{% if error_message %}<p><strong>{{ error_message }}</strong></p>{% endif %}
<ul>
{% for User in info_dict %}
aaa
<li>{{ User.user }} </li>
{% endfor %}
</ul>
I cant see , nothing from this list,
I have tried to use User.objects.all but nothing change.
I doesnt see aaa ,so the for doesnt run.
I know that info_disct is a query_set but I can show it whit a for ?
I tried :
User[0].user and User [0] but doesnt work
Thanks you very much to all for the help that I received and I recive from
this ML-group,
Ciao
Marco
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---