mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-18 05:51:26 +02:00
Added upgrade instructions
This commit is contained in:
@@ -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
|
||||
=============
|
||||
|
||||
|
||||
@@ -4,6 +4,8 @@ from django.urls import reverse
|
||||
|
||||
class ViewsTestCase(TestCase):
|
||||
|
||||
databases = "__all__"
|
||||
|
||||
def test_autoconfig(self):
|
||||
url = reverse("autoconfig:autoconfig")
|
||||
|
||||
|
||||
@@ -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",
|
||||
),
|
||||
|
||||
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user