From e09434b998c07ac2c8bf05e1ddf78bff08385580 Mon Sep 17 00:00:00 2001 From: Sunil Mohan Adapa Date: Sun, 13 Nov 2016 19:28:27 +0530 Subject: [PATCH] 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. --- plinth/modules/pagekite/forms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plinth/modules/pagekite/forms.py b/plinth/modules/pagekite/forms.py index 4847f4bca..d859d2095 100644 --- a/plinth/modules/pagekite/forms.py +++ b/plinth/modules/pagekite/forms.py @@ -18,12 +18,12 @@ import copy from django import forms from django.contrib import messages -from django.contrib.sites import requests from django.core import validators from django.core.exceptions import ValidationError from django.utils.translation import ugettext as _, ugettext_lazy import json import logging +import requests from . import utils from plinth import cfg