Django

Code

Changeset 7635

Show
Ignore:
Timestamp:
06/14/08 23:49:29 (7 months ago)
Author:
gwilson
Message:

Fixed #7387 - Fixed circular import problem when importing contrib.contenttypes.generic module.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/django/db/models/sql/subqueries.py

    r7496 r7635  
    33""" 
    44 
    5 from django.contrib.contenttypes import generic 
    65from django.core.exceptions import FieldError 
    76from django.db.models.sql.constants import * 
    8 from django.db.models.sql.datastructures import RawValue, Date 
     7from django.db.models.sql.datastructures import Date 
    98from django.db.models.sql.query import Query 
    109from django.db.models.sql.where import AND 
     
    4443        lot of values in pk_list. 
    4544        """ 
     45        from django.contrib.contenttypes import generic 
    4646        cls = self.model 
    4747        for related in cls._meta.get_all_related_many_to_many_objects(): 
     
    383383    def get_ordering(self): 
    384384        return () 
    385