1
0
mirror of https://github.com/r4sas/py-i2phosts synced 2025-01-22 20:44:55 +00:00

Fix "settings" import

This commit is contained in:
Hidden Z 2010-11-04 12:43:53 +00:00
parent 6fb4d60ce6
commit 7ce4500b9c
3 changed files with 3 additions and 3 deletions

View File

@ -5,7 +5,7 @@ from django.core.exceptions import ValidationError
from pyi2phosts.postkey.models import i2phost from pyi2phosts.postkey.models import i2phost
from pyi2phosts.lib.validation import validate_hostname from pyi2phosts.lib.validation import validate_hostname
from web import settings import settings
def jumper(request, host): def jumper(request, host):
"""Actually do jumps.""" """Actually do jumps."""

View File

@ -1,5 +1,5 @@
from django.shortcuts import render_to_response from django.shortcuts import render_to_response
from web import settings import settings
def index(request): def index(request):
return render_to_response('index.html', { return render_to_response('index.html', {

View File

@ -5,7 +5,7 @@ from django.forms import ModelForm
from django.shortcuts import render_to_response from django.shortcuts import render_to_response
from django.template import RequestContext from django.template import RequestContext
from web import settings import settings
from pyi2phosts.postkey.models import i2phost from pyi2phosts.postkey.models import i2phost
from pyi2phosts.lib.utils import get_logger from pyi2phosts.lib.utils import get_logger
from pyi2phosts.lib.validation import validate_hostname from pyi2phosts.lib.validation import validate_hostname