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:
parent
6fb4d60ce6
commit
7ce4500b9c
@ -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."""
|
||||||
|
@ -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', {
|
||||||
|
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user