Browse Source

pyi2phosts/postkey/views.py: remove excessive import

pull/1/head
Hidden Z 14 years ago
parent
commit
a0bba86169
  1. 3
      pyi2phosts/postkey/views.py

3
pyi2phosts/postkey/views.py

@ -1,7 +1,6 @@
import re import re
from django import forms from django import forms
from django.forms import ModelForm
from django.shortcuts import render_to_response from django.shortcuts import render_to_response
from django.shortcuts import redirect from django.shortcuts import redirect
from django.template import RequestContext from django.template import RequestContext
@ -12,7 +11,7 @@ from pyi2phosts.lib.utils import get_logger
from pyi2phosts.lib.validation import validate_hostname from pyi2phosts.lib.validation import validate_hostname
from pyi2phosts.lib.validation import validate_b64hash from pyi2phosts.lib.validation import validate_b64hash
class AddForm(ModelForm): class AddForm(forms.ModelForm):
""" """
This is our class for host-add form. It's based on django's ModelForm This is our class for host-add form. It's based on django's ModelForm
and uses our model "i2phost" (see postkey/models.py) and uses our model "i2phost" (see postkey/models.py)

Loading…
Cancel
Save