Django

Code

Changeset 2110

Show
Ignore:
Timestamp:
01/22/06 20:41:01 (3 years ago)
Author:
adrian
Message:

magic-removal: Moved FieldDoesNotExist? exception to django.db.models.fields and removed django.db.models.exceptions

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/branches/magic-removal/django/db/models/fields/__init__.py

    r2104 r2110  
    2525# returns the <ul> class for a given radio_admin value 
    2626get_ul_class = lambda x: 'radiolist%s' % ((x == HORIZONTAL) and ' inline' or '') 
     27 
     28class FieldDoesNotExist(Exception): 
     29    pass 
    2730 
    2831def manipulator_validator_unique(f, opts, self, field_data, all_data): 
  • django/branches/magic-removal/django/db/models/__init__.py

    r2109 r2110  
    99from django.db.models.fields import * 
    1010from django.db.models.fields.related import * 
    11 from django.db.models.exceptions import FieldDoesNotExist 
    1211from django.db.models import signals 
    1312from django.utils.functional import curry 
  • django/branches/magic-removal/django/db/models/options.py

    r2106 r2110  
    11from django.db.models.related import RelatedObject 
    22from django.db.models.fields.related import ManyToMany 
    3 from django.db.models.fields import AutoField 
     3from django.db.models.fields import AutoField, FieldDoesNotExist 
    44from django.db.models.loading import get_models 
    55from django.db.models.query import orderlist2sql 
    6 from django.db.models.exceptions import FieldDoesNotExist 
    76from bisect import bisect 
    87import re 
  • django/branches/magic-removal/django/db/models/query.py

    r2070 r2110  
    11from django.db import backend, connection 
    2 from django.db.models.exceptions import * 
     2from django.db.models.fields import FieldDoesNotExist 
    33from django.utils.datastructures import SortedDict 
    44