diff options
-rw-r--r-- | pydis_site/apps/api/views.py | 2 | ||||
-rw-r--r-- | pydis_site/hosts.py | 5 |
2 files changed, 2 insertions, 5 deletions
diff --git a/pydis_site/apps/api/views.py b/pydis_site/apps/api/views.py index f88e1039..c529da0f 100644 --- a/pydis_site/apps/api/views.py +++ b/pydis_site/apps/api/views.py @@ -131,7 +131,7 @@ class RulesView(APIView): ), ( "We will not help you with anything that might break a law or the " - "terms of service of any other community, pysite, service, or " + "terms of service of any other community, site, service, or " "otherwise - No piracy, brute-forcing, captcha circumvention, " "sneaker bots, or anything else of that nature." ), diff --git a/pydis_site/hosts.py b/pydis_site/hosts.py index 86375173..34acfd09 100644 --- a/pydis_site/hosts.py +++ b/pydis_site/hosts.py @@ -3,11 +3,8 @@ from django_hosts import host, patterns host_patterns = patterns( '', - # > | Subdomain | URL Module | Host entry name | + # host(r"subdomain pattern", "URLs module", "host entry name") host(r'admin', 'pydis_site.apps.admin.urls', name="admin"), host(r'api', 'pydis_site.apps.api.urls', name='api'), - # host(r"staff", "pydis_site.apps.staff", name="staff"), - # host(r"wiki", "pydis_site.apps.wiki", name="wiki"), - # host(r"ws", "pydis_site.apps. ws", name="ws"), host(r'.*', 'pydis_site.apps.home.urls', name=settings.DEFAULT_HOST) ) |