All of the above seems to be working the way I expect it to. I can get the
data I am after and pass it to a template. Now I would like take all
objects, of the below model, and pass all these objects it to my
'/signup.html/'* IN ADDTION* to what is being passed above so I can start*
form *processing.
class Elective( models.Model ):
elective_title = models.CharField( max_length=100 )
elective_description = models.CharField( max_length=100 )
def __str__(self):
return "{0}".format( self.elective_title )
I tried following Django Pass Multiple Models to one Template
<http://stackoverflow.com/questions/12187751/django-pass-multiple-models-to-one-template>
and Refer to multiple Models in View/Template in Django
<http://stackoverflow.com/questions/18419328/refer-to-multiple-models-in-view-template-in-django>
With unsuccessful results, and now that I have been working on this for
some time now I thought my next best move is to ask for help.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-users/d9801311-3793-4931-a736-03d28ac50004%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.