Thank you very much :)
I just read the django-trunk original source, and compare it with
django0.96
There's much different

On Oct 14, 3:50 pm, Jarek Zgoda <[EMAIL PROTECTED]> wrote:
> Wiadomość napisana w dniu 2008-10-14, o godz. 09:43, przez [EMAIL PROTECTED]
> :
>
>
>
>
>
> > 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,
>
> Not a bug. Model-level validation does not exist in current Django.
> Sorry.
>
> --
> We read Knuth so you don't have to. - Tim Peters
>
> Jarek Zgoda, R&D, Redefine
> [EMAIL PROTECTED]
--~--~---------~--~----~------------~-------~--~----~
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