Django

Code

Show
Ignore:
Timestamp:
07/18/08 20:22:26 (4 months ago)
Author:
jacob
Message:

Fixed #7741: django.newforms is now django.forms. This is obviously a backwards-incompatible change. There's a warning upon import of django.newforms itself, but deeper imports will raise errors.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/tests/modeltests/many_to_one/models.py

    r7625 r7971  
    156156 
    157157# And should work fine with the unicode that comes out of 
    158 # newforms.Form.cleaned_data 
     158# forms.Form.cleaned_data 
    159159>>> Article.objects.filter(reporter__first_name__exact='John').extra(where=["many_to_one_reporter.last_name='%s'" % u'Smith']) 
    160160[<Article: John's second story>, <Article: This is a test>]