In poll app, I set Time_Zone='Asia/Kolkata' and USE_TZ=True in settings.py
file.
In models.py file,
import datetime
from django.utils import timezone
from django.db import models
class Poll(models.Model):
question = models.CharField(max_length=200)
pub_date = models.DateTimeField('date p
Hi,
In poll app website, Select poll to change page my drop-down list is
empty.While in Mysql command prompt when I do select * command it shows the
tuples.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and
2 matches
Mail list logo