#7819 closed (fixed)
Sites admin.py missing a model import
| Reported by: | Rajesh Dhawan | Owned by: | Brian Rosner | 
|---|---|---|---|
| Component: | contrib.admin | Version: | dev | 
| Severity: | Keywords: | nfa-blocker | |
| Cc: | rajesh.dhawan@… | Triage Stage: | Ready for checkin | 
| Has patch: | yes | Needs documentation: | no | 
| Needs tests: | no | Patch needs improvement: | no | 
| Easy pickings: | no | UI/UX: | no | 
Description
Rev [7953] refactored the admin options for django.contrib.sites into a separate admin.py file. This file is missing the import for the Site model.
This causes complete breakage in projects that are using django.contrib.sites.
Attachments (1)
Change History (5)
by , 17 years ago
| Attachment: | patch.diff added | 
|---|
comment:1 by , 17 years ago
| Cc: | added | 
|---|
comment:2 by , 17 years ago
| Owner: | changed from to | 
|---|---|
| Status: | new → assigned | 
| Triage Stage: | Unreviewed → Ready for checkin | 
Ugh, my bad. Will fix now.
  Note:
 See   TracTickets
 for help on using tickets.
    
Adding other imports missed by changeset [7953] - flatpages and comments