Enter code here...
#views.py
def detail(request, game_id):
#detail.html
<div class="container"> <div class="row"> <div class="col-xs-12 col-sm-offset-4 col-sm-8"> <div class="row"> <div class="col-xs-6 my_planHeader my_plan1"> <div class="my_planTitle">{{ games.roadTeam }}</div> <div class="my_planPrice">{{ games.roadTeamWins}} - {{ games.roadTeamLosses}}</div> </div> <div class="col-xs-6 my_planHeader my_plan2"> <div class="my_planTitle">{{games.homeTeam }}</div> <div class="my_planPrice">{{ games.HomeTeamWins}} - {{ games.HomeTeamLosses}}</div> </div>
Enter code here...
<a type="button" class="btn btn-default">
Thanks ludovic
I'll try that. I have a very basic form question. What attribute gets posted in the .POST? Is that value? In input?
Secondly, the default value in the function, is that a type like text or integer or is it just a place holder like "Chicago" or "2"
Thanks
> email to django-users+unsubscribe@googlegroups.com.
> To post to this group, send email to django...@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/0569cc00-30c1-4b14-b521-107e37149340%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
--
Cordialement, Coues Ludovic
+336 148 743 42
--
You received this message because you are subscribed to a topic in the Google Groups "Django users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/django-users/2pxh8Pmrfrg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django...@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/CAEuG%2BTZtE_QP3uq473HkW%2BRmYNtPrHV3XO%2B09PubC4sp5k-H0A%40mail.gmail.com.