Thanks for correcting me...Its now working
--
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
django-users+unsubscr...@googlegroups.
On Mar 11, 2011, at 5:02 AM, pols wrote:
> hai
> I have two models as shown belove
>
> from django.db import models
> from django.db.models import Sum
> # Create your models here.
> class polls(models.Model):
> question = models.CharField(max_length=200)
> pubish_date = models.DateTime
hai
I have two models as shown belove
from django.db import models
from django.db.models import Sum
# Create your models here.
class polls(models.Model):
question = models.CharField(max_length=200)
pubish_date = models.DateTimeField('Date published')
def __unicode__(self):
3 matches
Mail list logo