I meet a bug in django1.0

class Reporter(models.Model):
    name = models.CharField(max_length=100)
    email = models.EmailField()

    def __unicode__(self):
        return '%s : %s ' % (self.name, self.email)

r1 = Reporter()
r1.name = 'edison'
r1.email = 'xxxxx'
r1.save()
r1.id = 1

Why it can be save ?
there's not a valid email,


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to