From 7ce4500b9cecd90e7fc910a04bc918a510aeeba1 Mon Sep 17 00:00:00 2001 From: Hidden Z Date: Thu, 4 Nov 2010 12:43:53 +0000 Subject: [PATCH] Fix "settings" import --- pyi2phosts/jump/views.py | 2 +- pyi2phosts/other/views.py | 2 +- pyi2phosts/postkey/views.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pyi2phosts/jump/views.py b/pyi2phosts/jump/views.py index 8951418..22b80b0 100644 --- a/pyi2phosts/jump/views.py +++ b/pyi2phosts/jump/views.py @@ -5,7 +5,7 @@ from django.core.exceptions import ValidationError from pyi2phosts.postkey.models import i2phost from pyi2phosts.lib.validation import validate_hostname -from web import settings +import settings def jumper(request, host): """Actually do jumps.""" diff --git a/pyi2phosts/other/views.py b/pyi2phosts/other/views.py index 538b82f..fa3409f 100644 --- a/pyi2phosts/other/views.py +++ b/pyi2phosts/other/views.py @@ -1,5 +1,5 @@ from django.shortcuts import render_to_response -from web import settings +import settings def index(request): return render_to_response('index.html', { diff --git a/pyi2phosts/postkey/views.py b/pyi2phosts/postkey/views.py index f1ae53d..f84e1bc 100644 --- a/pyi2phosts/postkey/views.py +++ b/pyi2phosts/postkey/views.py @@ -5,7 +5,7 @@ from django.forms import ModelForm from django.shortcuts import render_to_response from django.template import RequestContext -from web import settings +import settings from pyi2phosts.postkey.models import i2phost from pyi2phosts.lib.utils import get_logger from pyi2phosts.lib.validation import validate_hostname