Browse Source

Fix "settings" import

pull/1/head
Hidden Z 14 years ago
parent
commit
7ce4500b9c
  1. 2
      pyi2phosts/jump/views.py
  2. 2
      pyi2phosts/other/views.py
  3. 2
      pyi2phosts/postkey/views.py

2
pyi2phosts/jump/views.py

@ -5,7 +5,7 @@ from django.core.exceptions import ValidationError @@ -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."""

2
pyi2phosts/other/views.py

@ -1,5 +1,5 @@ @@ -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', {

2
pyi2phosts/postkey/views.py

@ -5,7 +5,7 @@ from django.forms import ModelForm @@ -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

Loading…
Cancel
Save