pagekite: Fix first boot to use requests module

The intent is to use the requests module and make HTTP requests instead
of the Django requests.  This is probably a regression and this step
does not work without the change.
This commit is contained in:
Sunil Mohan Adapa 2016-11-13 19:28:27 +05:30 committed by James Valleroy
parent 56686b7148
commit e09434b998
No known key found for this signature in database
GPG Key ID: 77C0C75E7B650808

View File

@ -18,12 +18,12 @@
import copy import copy
from django import forms from django import forms
from django.contrib import messages from django.contrib import messages
from django.contrib.sites import requests
from django.core import validators from django.core import validators
from django.core.exceptions import ValidationError from django.core.exceptions import ValidationError
from django.utils.translation import ugettext as _, ugettext_lazy from django.utils.translation import ugettext as _, ugettext_lazy
import json import json
import logging import logging
import requests
from . import utils from . import utils
from plinth import cfg from plinth import cfg