TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Settings.py Debugging Help

2 pointsby CaiGengYangover 9 years ago
http:&#x2F;&#x2F;pastebin.com&#x2F;index&#x2F;RWt1mp7F ----<p>The error message I got was that there is an error on or before line 45<p>Looking through my code , can&#x27;t seem to find any errors yet. All the parentheses seem to be in place too, this is weird ...<p>If anybody can spot anything, lemme know ... thanks ..

2 comments

dalkeover 9 years ago
Nothing appears wrong with that file. I can do &quot;python settings.py&quot; with both Python 2 and Python 3, without getting a SyntaxError.<p>Without a stack trace, there&#x27;s little more for anyone to go on. Also, there are better resources for Python&#x2F;Django help than HN. See <a href="https:&#x2F;&#x2F;docs.djangoproject.com&#x2F;en&#x2F;1.8&#x2F;faq&#x2F;help&#x2F;" rel="nofollow">https:&#x2F;&#x2F;docs.djangoproject.com&#x2F;en&#x2F;1.8&#x2F;faq&#x2F;help&#x2F;</a> for pointers, which includes an IRC channel.
greenyodaover 9 years ago
Hacker News isn&#x27;t really intended for asking questions like this (see the Guidelines link at the bottom of the page - this post doesn&#x27;t meet the &quot;interesting&quot; condition). Have you tried posting on StackOverflow?
评论 #10287644 未加载
评论 #10287350 未加载