Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #37110

Re: Parent module adsite.adsiteviews.mainhanlder does not exist

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder4.news.weretis.net!rt.uk.eu.org!nntp-feed.chiark.greenend.org.uk!ewrotcd!news.nosignal.org!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <jsf80238@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.013
X-Spam-Evidence '*H*': 0.97; '*S*': 0.00; 'works.': 0.07; '__init__': 0.09; 'django,': 0.09; 'subject:module': 0.09; 'django': 0.10; 'subject:not': 0.11; '"import"': 0.16; 'folder,': 0.16; 'copied': 0.17; 'sender:addr:gmail.com': 0.18; 'module': 0.19; 'header:In- Reply-To:1': 0.25; 'message-id:@mail.gmail.com': 0.27; "skip:' 10": 0.30; 'to:addr:python-list': 0.33; 'received:google.com': 0.34; 'project': 0.34; 'problem,': 0.35; 'received:209.85': 0.35; 'there': 0.35; 'created': 0.36; 'but': 0.36; 'should': 0.36; 'does': 0.37; 'received:209': 0.37; 'received:209.85.216': 0.37; 'subject:: ': 0.38; 'files': 0.38; 'some': 0.38; 'to:addr:python.org': 0.39; 'little': 0.39; 'skip:" 10': 0.40; 'your': 0.60; 'skip:a 30': 0.60
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; bh=uiIyv3U6ZE6NmhvUCtbG7duWhdpywZ9sAtrqN5AaJUI=; b=JH5U7SUEMg73l8WgVOJ9D8Q4pLJkSEMCocpyahoL5UfhDbmlzyeqZELvZPoeri3WPd 1JnQFDJwD6aLqb/Pa6ZSQ0QIPD6TFtfLLQm5pLbfUzvK8lSPA+Zh+UlozwX/iwa2KJHP 2GUVSXBFVo0wHsRJAXR0lVnups2hODtg+lAsvR1RgxnWQREPWQ8rLRhGY0JTyRFTi9ur 0DX2DbsbNA2Ppfpy4RB5LhTnJx0jo9a6fEE3epIa4ZeCf0p+QcpEDhKNczl53bUNkMeh 0Kgjs3srcak7/6zgGczMWImUMEpFNmMusY1m7Qf/ZJdlD80ZBJyS/0T2rcmRONnuuMsA 9MHw==
MIME-Version 1.0
X-Received by 10.224.201.201 with SMTP id fb9mr16596700qab.54.1358693380843; Sun, 20 Jan 2013 06:49:40 -0800 (PST)
Sender jsf80238@gmail.com
In-Reply-To <1795aead-8260-4f68-9597-a6aa488f6513@googlegroups.com>
References <1795aead-8260-4f68-9597-a6aa488f6513@googlegroups.com>
Date Sun, 20 Jan 2013 07:49:40 -0700
X-Google-Sender-Auth apDUu7qTzPnwmmaWXOwWoQPl7nI
Subject Re: Parent module adsite.adsiteviews.mainhanlder does not exist
From Jason Friedman <jason@powerpull.net>
To python-list@python.org
Content-Type text/plain; charset=UTF-8
Content-Transfer-Encoding quoted-printable
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.704.1358693390.2939.python-list@python.org> (permalink)
Lines 8
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1358693390 news.xs4all.nl 6879 [2001:888:2000:d::a6]:45891
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:37110

Show key headers only | View raw


> I created a django project using django 1.4.2. There is one 'app'(adsite) in this project. And It works. But when I copied some 'py' files into the 'app' folder, I got "Parent module adsite.adsiteviews.mainhanlder does not exist." Should I register the new files to __init__ in the 'app'? Did new coped files break the "import" rules?

I do not know if this is your problem, and I know little about django,
but is "mainhanlder" a typographical error?

Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Parent module adsite.adsiteviews.mainhanlder does not exist Nick Dong <double.620@gmail.com> - 2013-01-17 21:25 -0800
  Re: Parent module adsite.adsiteviews.mainhanlder does not exist Jason Friedman <jason@powerpull.net> - 2013-01-20 07:49 -0700

csiph-web