diff --git a/docs/outposts/deploy-docker-compose.md b/docs/outposts/deploy-docker-compose.md index 2c2719c1c..3d8aa44b7 100644 --- a/docs/outposts/deploy-docker-compose.md +++ b/docs/outposts/deploy-docker-compose.md @@ -15,6 +15,6 @@ services: - 4443:4443 environment: PASSBOOK_HOST: https://your-passbook.tld - PASSBOOK_INSECURE: 'true' + PASSBOOK_INSECURE: 'false' PASSBOOK_TOKEN: token-generated-by-passbook ``` diff --git a/passbook/admin/templates/administration/outpost/list.html b/passbook/admin/templates/administration/outpost/list.html index 827ae8b1d..f8a0dc27d 100644 --- a/passbook/admin/templates/administration/outpost/list.html +++ b/passbook/admin/templates/administration/outpost/list.html @@ -50,7 +50,7 @@ {% for outpost in object_list %} - {{ outpost.name }} + {{ outpost.name }} diff --git a/passbook/outposts/forms.py b/passbook/outposts/forms.py index cb9a1d3a9..1d0a8bb44 100644 --- a/passbook/outposts/forms.py +++ b/passbook/outposts/forms.py @@ -4,8 +4,8 @@ from django import forms from django.utils.translation import gettext_lazy as _ from passbook.admin.fields import CodeMirrorWidget, YAMLField -from passbook.core.models import Provider from passbook.outposts.models import Outpost +from passbook.providers.proxy.models import ProxyProvider class OutpostForm(forms.ModelForm): @@ -13,7 +13,7 @@ class OutpostForm(forms.ModelForm): def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) - self.fields["providers"].queryset = Provider.objects.all().select_subclasses() + self.fields["providers"].queryset = ProxyProvider.objects.all() class Meta: