aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site
diff options
context:
space:
mode:
authorGravatar Gareth Coles <[email protected]>2019-04-06 18:35:52 +0100
committerGravatar Gareth Coles <[email protected]>2019-04-06 18:35:52 +0100
commit56847b00e6bd090f0a8dbe6421fe773df69b4eeb (patch)
treeb5f2d5891f92bc18ed79dced904fe6f9c8a8f7af /pydis_site
parentAddress review by @jchristgit (diff)
Address review by @lemonsaurus
Diffstat (limited to 'pydis_site')
-rw-r--r--pydis_site/apps/api/views.py2
-rw-r--r--pydis_site/hosts.py5
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)
)