I have been trying to add date to my template, but for the life of me have not.
I have a field in the MYSQL db, and In my models class but when I put the text box it doesn't post to the db. No field does. And the calendar does show anything to debug. <h1>{{ poll.question }}</h1>Time Sheet {% if error_message %}<p><strong>{{ error_message }}</strong></p>{% endif %} <table class="cal_month_calendar"> <tr> {% for day in headers %} <th>{{ day|date:"D"|slice:":2" }}</hd> {% endfor %} </tr> {% for week in calendar %} <tr> {% for day in week %} <td{% if not day.in_month %} class="cal_not_in_month"{% endif %}>{% if day.event %}<a href="/calendar/{{ day.day|date:"Y/m" }}/">{{ day.day| date:"j" }}</a>{% else %}{{ day.day|date:"j" }}{% endif %}</td> {% endfor %} </tr> {% endfor %} </table> <form action="/timesheets/{{ poll.id }}/vote/" method="post"> {% for choice in poll.choice_set.all %} <label for="choice{{ forloop.counter }}"></label> Worked <input type="radio" name="choice" value="choice"> Fedtime <input name="fedtime" type="text" id="fedtime"> <select name="select"> </select> <input type="text" name="textfield"> <br /> {% endfor %} <input type="submit" value="submit time" /> </form> <p> <label for="choice{{ forloop.counter }}">{{ choice.choice }}</label> </p> --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---