Changeset 3279
- Timestamp:
- 07/06/06 08:25:12 (2 years ago)
- Files:
-
- django/trunk/django/db/models/base.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/trunk/django/db/models/base.py
r3274 r3279 44 44 # For 'django.contrib.sites.models', this would be 'sites'. 45 45 new_class._meta.app_label = model_module.__name__.split('.')[-2] 46 47 # Bail out early if we have already created this class. 48 m = get_model(new_class._meta.app_label, name) 49 if m is not None: 50 return m 46 51 47 52 # Add all attributes to the class.
