summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2016-07-04 16:35:20 -0300
committerLuke Shumaker <lukeshu@parabola.nu>2019-03-10 01:08:41 -0500
commit51c3f76fdd93500ce101d501f41bd4e6db2db3f4 (patch)
treed2029294fafb9b4098fd543053d874bd826accde
parent4200ab0cebd9f8f67366cbcb6710d38c01026cd2 (diff)
fix some comments
-rw-r--r--devel/utils.py2
-rw-r--r--local_settings.py.example12
2 files changed, 7 insertions, 7 deletions
diff --git a/devel/utils.py b/devel/utils.py
index 3326987a..e745c7a9 100644
--- a/devel/utils.py
+++ b/devel/utils.py
@@ -78,7 +78,7 @@ class UserFinder(object):
def username_email(name, email):
if email and '@' in email:
# split email addr at '@' symbol, ensure domain matches
- # or is a subdomain of archlinux.org
+ # or is a subdomain of parabola.nu
username, domain = email.split('@', 1)
if re.match(settings.DOMAIN_RE, domain):
return User.objects.get(username=username)
diff --git a/local_settings.py.example b/local_settings.py.example
index 44e38459..f5d23c89 100644
--- a/local_settings.py.example
+++ b/local_settings.py.example
@@ -15,9 +15,9 @@ ADMINS = (
#DATABASES = {
# 'default': {
# 'ENGINE' : 'django.db.backends.postgresql_psycopg2',
-# 'NAME' : 'archlinux',
-# 'USER' : 'archlinux',
-# 'PASSWORD': 'archlinux',
+# 'NAME' : 'parabola',
+# 'USER' : 'parabola',
+# 'PASSWORD': 'parabola',
# 'HOST' : '',
# 'PORT' : '',
# },
@@ -27,9 +27,9 @@ ADMINS = (
#DATABASES = {
# 'default': {
# 'ENGINE' : 'django.db.backends.mysql',
-# 'NAME' : 'archlinux',
-# 'USER' : 'archlinux',
-# 'PASSWORD': 'archlinux',
+# 'NAME' : 'parabola',
+# 'USER' : 'parabola',
+# 'PASSWORD': 'parabola',
# 'HOST' : '',
# 'PORT' : '',
# # InnoDB WILL NOT work