Path: csiph.com!optima2.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!1.eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.001 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'python,': 0.02; 'subject:Django': 0.03; 'essentially': 0.04; 'attempted': 0.09; 'ide': 0.09; 'inclusion': 0.09; 'indicates': 0.09; 'tuple.': 0.09; 'python': 0.10; 'subject:error': 0.11; 'template': 0.11; '2.7': 0.13; 'exception': 0.13; 'django': 0.13; '(than': 0.16; '1.7': 0.16; '11:15': 0.16; 'index.html': 0.16; 'received:206.46': 0.16; 'received:206.46.173': 0.16; 'settings.py': 0.16; 'wrote:': 0.16; 'duplicate': 0.18; '>>>': 0.20; 'settings': 0.20; 'fix': 0.21; 'fixing': 0.22; 'setup.': 0.22; 'sorry,': 0.22; 'file.': 0.22; 'sort': 0.25; 'header:User-Agent:1': 0.26; 'installed': 0.26; 'error': 0.27; 'question': 0.27; 'correct': 0.28; 'this.': 0.28; '---': 0.28; 'actual': 0.28; 'lot.': 0.29; 'reporting': 0.29; 'that.': 0.30; 'version,': 0.30; "can't": 0.32; 'point': 0.33; 'problem': 0.33; 'file': 0.34; 'running': 0.34; 'question,': 0.35; 'templates': 0.35; 'problem.': 0.35; 'but': 0.36; 'should': 0.36; 'project': 0.36; 'to:addr:python-list': 0.36; 'pm,': 0.36; 'subject:: ': 0.37; 'two': 0.37; 'being': 0.37; 'mailing': 0.38; 'files': 0.38; 'format': 0.39; 'received:192': 0.39; 'to:addr:python.org': 0.40; 'some': 0.40; 'header:MIME-version:1': 0.60; 'your': 0.60; 'side': 0.62; 'real': 0.62; 'charset:windows-1252': 0.62; 'more': 0.63; 'received:206': 0.63; 'differences': 0.66; 'present.': 0.72; 'header:In-reply-to:1': 0.84; 'refuses': 0.84; 'subject:Project': 0.84; 'apparent': 0.91; 'received:192.168.1.7': 0.91 X-CMAE-Score: 0 X-CMAE-Analysis: v=2.1 cv=MtGvkDue c=1 sm=1 tr=0 a=AstGAA2XJoPAehtj9MTdvA==:117 a=o1OHuDzbAAAA:8 a=oR5dmqMzAAAA:8 a=zKzDOiuOpD0A:10 a=-9mUelKeXuEA:10 a=N659UExz7-8A:10 a=zOBTXjUuO1YA:10 a=rlE8jwIVs4lOLhZPwhIA:9 a=pILNOxqGKmIA:10 Date: Fri, 31 Jul 2015 19:33:39 -0700 From: Gary Roach User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.7.0 MIME-version: 1.0 To: python-list@python.org Subject: Re: Improper Django Project error (solved) References: <55BA6563.8050603@verizon.net> <87wpxghmy4.fsf@handshake.de> In-reply-to: <87wpxghmy4.fsf@handshake.de> Content-type: text/plain; charset=windows-1252; format=flowed Content-transfer-encoding: 7bit X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 42 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1438396421 news.xs4all.nl 2872 [2001:888:2000:d::a6]:37312 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:94823 On 07/30/2015 11:15 PM, dieter wrote: > Gary Roach writes: >> Being new to Django and Python, I have two projects setup side by >> side, each in it's own virtualenv wrapper. >> The twr_project is running Django 1.7, python 2.7 and is set up to >> duplicate the 'Tango With Rango' tutorial. >> The archivedb project is running Django 1.8, python 2.7 and is my >> actual project. > As this is more a "Django" (than a general "Python") question, > you might get better help in a "Django" mailing list/support forum. Actually you are dead correct on that. > > > Your "subject" indicates that you likely see (somewhere) > the "Django" error message "Improper Django Project error". > Likely, you have corrupted you "Django" project setup. > Read about how "Django" projects must look like and fix your setup. The real problem was that the settings.py files for Django 1.7 and 1.8 have some very significant differences with the format of the TEMPLATES = [] tuple. So the problem's solved --- sort of . >> I am using Ninja-IDE as my IDE. I like it a lot. >> >> At this point both projects are essentially identical with the >> exception of name changes. The twr project work down to the first >> template inclusion ( index.html ). The archivedb project refuses to >> find the home.html template file. The system layout is exactly the >> same. >> >> I wiped the home.html file and attempted to re-install it but my IDE >> gave the following error window: >> >>> Sorry, either settings file or virtualenv are missingthese are >>> required for Django Plugin to work in thepresent version, we are >>> working on fixing this. >>> >> I have virtualenv installed and active and the settings file is >> present. > You should ask this question on a "Ninja-IDE" mailing list/support forum. Ninja_IDE is just reporting an apparent problem. The real problem is that the browser can't find the file. A Django problem. >