Electronics & Programming

develissimo

Open Source electronics development and programming

  • You are not logged in.

#1 Dec. 3, 2010 10:54:26

Carlos A.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

models don't show in tamplate


Hi guys,
Is there a reason for my models don't show up in my template?

my urls on app folder:http://dpaste.com/hold/282583/my template:http://dpaste.com/hold/282586/I can access through shell to models instaces,


Any help whould be apreciated

thank you
Aboim

--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to
django-users+unsubscr...@googlegroups.com.
For more options, visit this group athttp://groups.google.com/group/django-users?hl=en.

Offline

#2 Dec. 3, 2010 17:19:00

w.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

models don't show in tamplate


Are you seeing anything? I mean, is the rest of the template
rendering fine?

There are only two things that I notice: the extra dict you pass with
the template_object_name (why not put it in info_dict?), and while I'm
not fluent in spanish, are you iterating through the variable
'object_list'? That is the name of the list that will have your
queryset objects after the generic view is executed.

--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to
django-users+unsubscr...@googlegroups.com.
For more options, visit this group athttp://groups.google.com/group/django-users?hl=en.

Offline

Board footer

Moderator control

Enjoy the 12th of December
PoweredBy

The Forums are managed by develissimo stuff members, if you find any issues or misplaced content please help us to fix it. Thank you! Tell us via Contact Options
Leave a Message
Welcome to Develissimo Live Support