Closed Bug 518851 Opened 16 years ago Closed 16 years ago

urls.py imports settings.py directly

Categories

(Webtools :: ISPDB Server, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: ehenry5, Assigned: ehenry5)

Details

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/532.0 (KHTML, like Gecko) Chrome/4.0.211.7 Safari/532.0 Build Identifier: urls.py imports settings.py directly which overrides the django --settings option. Reproducible: Always Steps to Reproduce: Checkout source, run. Actual Results: imports settings.py instead of whatever was specified with the --settings option... Expected Results: importing the file specified by the --settings option
Attachment #402849 - Flags: review?
Attachment #402849 - Flags: review? → review?(bwinton)
Comment on attachment 402849 [details] [diff] [review] patch to use django.conf.settings >Index: urls.py >-import settings >+from django.conf import settings Looks good to me. Later, Blake.
Attachment #402849 - Flags: review?(bwinton) → review+
Attachment #402849 - Flags: review?(gozer)
Attachment #402849 - Flags: review?(gozer) → review+
Assignee: nobody → ehenry5
Keywords: checkin-needed
Carefull, that patch probably had win32 line endings $> cat attachment.cgi\?id\=402849 | patch -p0 (Stripping trailing CRs from patch.) Committed revision 53424.
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Component: ispdb → ISPDB Server
Product: Mozilla Messaging → Webtools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: