Code

Opened 6 years ago

Closed 6 years ago

Last modified 3 years ago

#7819 closed (fixed)

Sites admin.py missing a model import

Reported by: rajeshdhawan Owned by: brosner
Component: contrib.admin Version: master
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: UI/UX:

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)

patch.diff (1.4 KB) - added by rajeshdhawan 6 years ago.
Adding other imports missed by changeset [7953] - flatpages and comments

Download all attachments as: .zip

Change History (5)

Changed 6 years ago by rajeshdhawan

Adding other imports missed by changeset [7953] - flatpages and comments

comment:1 Changed 6 years ago by rajeshdhawan

  • Cc rajesh.dhawan@… added
  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset

comment:2 Changed 6 years ago by brosner

  • Owner changed from nobody to brosner
  • Status changed from new to assigned
  • Triage Stage changed from Unreviewed to Ready for checkin

Ugh, my bad. Will fix now.

comment:3 Changed 6 years ago by Alex

  • Resolution set to fixed
  • Status changed from assigned to closed

Fixed in r7957

comment:4 Changed 3 years ago by jacob

  • milestone 1.0 alpha deleted

Milestone 1.0 alpha deleted

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.