Added upgrade instructions

This commit is contained in:
Antoine Nguyen
2025-09-16 18:03:16 +02:00
parent d684dac7d7
commit 1a444729c0
4 changed files with 24 additions and 2 deletions
+21
View File
@@ -130,6 +130,27 @@ Rebuild Virtual Environment
Specific instructions
*********************
Version 2.6.0
=============
New built-in auto-configuration service.
Required changes to :file:`settings.py`
---------------------------------------
- Add the following line to ``MODOBOA_APPS`` variable:
.. sourcecode:: python
'modoboa.autoconfig'
- Add the following hostnames to ``ALLOWED_HOSTS`` variable:
.. sourcecode:: python
'autoconfig.<MY DOMAIN>',
'autodiscover.<MY DOMAIN>',
Version 2.5.0
=============
+2
View File
@@ -4,6 +4,8 @@ from django.urls import reverse
class ViewsTestCase(TestCase):
databases = "__all__"
def test_autoconfig(self):
url = reverse("autoconfig:autoconfig")
+1 -1
View File
@@ -8,7 +8,7 @@ app_name = "autoconfig"
urlpatterns = [
path(
".well-known/autoconfig/mail/config-v1.1.xml",
"mail/config-v1.1.xml",
views.AutoConfigView.as_view(),
name="autoconfig",
),
-1
View File
@@ -58,7 +58,6 @@ class AutoDiscoverView(ConfigBaseMixin, generic.TemplateView):
class MobileConfigView(generic.View):
databases = "__all__"
http_method_names = ["get"]
def get(self, request, *args, **kwargs):