Django

Code

Show
Ignore:
Timestamp:
07/19/08 08:30:47 (6 months ago)
Author:
jbronn
Message:

gis: Merged revisions 7921,7926-7928,7938-7941,7945-7947,7949-7950,7952,7955-7956,7961,7964-7968,7970-7978 via svnmerge from trunk.

This includes the newforms-admin branch, and thus is backwards-incompatible. The geographic admin is _not_ in this changeset, and is forthcoming.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/branches/gis

    • Property svnmerge-integrated changed from /django/trunk:1-7917 to /django/trunk:1-7978
  • django/branches/gis/django/newforms/__init__.py

    r4265 r7979  
    1 """ 
    2 Django validation and HTML form handling. 
    3  
    4 TODO: 
    5     Default value for field 
    6     Field labels 
    7     Nestable Forms 
    8     FatalValidationError -- short-circuits all other validators on a form 
    9     ValidationWarning 
    10     "This form field requires foo.js" and form.js_includes() 
    11 """ 
    12  
    13 from util import ValidationError 
    14 from widgets import * 
    15 from fields import * 
    16 from forms import * 
    17 from models import * 
     1import warnings 
     2warnings.warn( 
     3    category = DeprecationWarning, 
     4    message = "django.newforms is no longer new. Import django.forms instead.", 
     5    stacklevel = 2 
     6
     7from django.forms import *