瀏覽代碼

Merge pull request #7103 from candlerb/candlerb/7102

Redirect users on error to the GitHub discussion forum
Jeremy Stretch 5 年之前
父節點
當前提交
840ea36f70
共有 2 個文件被更改,包括 3 次插入 和 3 次删除
  1. 1 1
      netbox/templates/500.html
  2. 2 2
      netbox/utilities/management/commands/makemigrations.py

+ 1 - 1
netbox/templates/500.html

@@ -32,7 +32,7 @@
 Python version: {{ python_version }}
 Python version: {{ python_version }}
 NetBox version: {{ netbox_version }}</pre>
 NetBox version: {{ netbox_version }}</pre>
                         <p>
                         <p>
-                            If further assistance is required, please post to the <a href="https://groups.google.com/g/netbox-discuss">NetBox mailing list</a>.
+                            If further assistance is required, please post to the <a href="https://github.com/netbox-community/netbox/discussions">NetBox discussion forum</a> on GitHub.
                         </p>
                         </p>
                         <div class="text-end">
                         <div class="text-end">
                             <a href="{% url 'home' %}" class="btn btn-primary">Home Page</a>
                             <a href="{% url 'home' %}" class="btn btn-primary">Home Page</a>

+ 2 - 2
netbox/utilities/management/commands/makemigrations.py

@@ -21,8 +21,8 @@ class Command(_Command):
             raise CommandError(
             raise CommandError(
                 "This command is available for development purposes only. It will\n"
                 "This command is available for development purposes only. It will\n"
                 "NOT resolve any issues with missing or unapplied migrations. For assistance,\n"
                 "NOT resolve any issues with missing or unapplied migrations. For assistance,\n"
-                "please post to the NetBox mailing list:\n"
-                "    https://groups.google.com/g/netbox-discuss"
+                "please post to the NetBox discussion forum on GitHub:\n"
+                "    https://github.com/netbox-community/netbox/discussions"
             )
             )
 
 
         super().handle(*args, **kwargs)
         super().handle(*args, **kwargs)