mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-09-19 04:59:01 +00:00
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:
parent
56686b7148
commit
e09434b998
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user