Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Chris Angelico Newsgroups: comp.lang.python Subject: Re: djqgrid 0.2.4 error import json_helpers Date: Wed, 20 Apr 2016 21:43:44 +1000 Lines: 13 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: news.uni-berlin.de X1fxaFncyxLsTXhaGOHrxwJBTSiiryEnIwmkBOWLyXkQ== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.029 X-Spam-Evidence: '*H*': 0.94; '*S*': 0.00; 'cc:addr:python-list': 0.09; 'subject:error': 0.11; 'template': 0.11; 'django': 0.13; 'wed,': 0.15; '2016': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'subject:import': 0.16; 'wrote:': 0.16; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; 'import': 0.24; 'header:In-Reply-To:1': 0.24; 'message-id:@mail.gmail.com': 0.27; 'idea': 0.28; 'attempting': 0.29; 'there.': 0.30; 'folder': 0.30; 'received:google.com': 0.35; 'should': 0.36; 'received:209.85': 0.36; 'pm,': 0.36; 'subject:: ': 0.37; 'received:209.85.213': 0.37; 'received:209': 0.38; 'different': 0.63; '20,': 0.66; 'yourself,': 0.72; 'chrisa': 0.84; 'those?': 0.84; 'to:none': 0.91; '9:00': 0.91 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc; bh=gdu4Sy2qkT2I+wX7khFRuUm9ktexonoQfzKEW/GNzMw=; b=iGKn3ZuRPVBMPF3tGGQNTwEbKD2iuELbXC5vvlmiod3YTbNc5gZ9Vb31oNyVLuo524 mdnTbWhnIdYGlnG2ZT/74bfEz6frBPQpYyMfnC3vOU97EiuNWGq8g5HfaeeG1NcJ3Kgd 1dL0P064pFpWw5CDf8RFm8UTgg73nfFOj7uRY+LSz78eBZlZLZMqdxW2rWaM+Xu1jpLW oWsmS+qf4lzpqdat5cC3eNeg6C0CdRYghGE1SkKaHh7l/MifZN/5bBxUbd6ThgItTWlm VeOEmK8LByxl2cjwlCSkoKkV8uTjRwAme/HKfwA2HH915e+HMxZYshuovp17xScbmGnO Z7Bg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:cc; bh=gdu4Sy2qkT2I+wX7khFRuUm9ktexonoQfzKEW/GNzMw=; b=YQflhhO0fJoV91oI4+p8RDL3lVksKwT8wENYrRpaLZZ0a7DaOY9Z1302WWfpAEyMs+ E2gtdGpqT6Hm4yJraw/WvcOtuU6Gyn3oioPIzFLJncTGCQfofxZC0cUkUS8R0Q56xeqF v2iPQoKFVaeQtGkW/6GfxZLEMfOZ3LJJhOUO8ZxlkpezWG/u6arhLHY6XOsrvbZBlBss f3xwMLjzY+dlmQChOu8nw9EtVoYEgZPJwWS6leTcUM6kiIVoBXAvW8MLjKFbmMKhuL+8 88OwAimDtQ080qC8NCPMZWsojiTmHy7MA2sB/g4K+e6lUUBpo+xApobhqWZrPMjBTDkr zF1Q== X-Gm-Message-State: AOPr4FWoM5RjtFlHgr+JOSyZJXtymkuN4LYUx3uitReeEmc8P+Tf9AObr9uh+SYK8Ana3+X1hEI3LJTxn183Aw== X-Received: by 10.50.221.169 with SMTP id qf9mr3060875igc.13.1461152624204; Wed, 20 Apr 2016 04:43:44 -0700 (PDT) In-Reply-To: X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Mailman-Original-Message-ID: X-Mailman-Original-References: Xref: csiph.com comp.lang.python:107406 On Wed, Apr 20, 2016 at 9:00 PM, asimkon . wrote: > Inside my templatetags folder (djqgrid.py), i have the following commands: > > from django import template > from djqgrid import json_helpers > > Any idea to get a solution ? > You're attempting to import from yourself, there. Is that what you intend? Or should you be using a different name for one of those? ChrisA