summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2016-07-04 16:35:20 -0300
committercoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2016-07-04 16:50:35 -0300
commit579e2bc90acc9faac14c8c32048431d873d32e4b (patch)
treeac676448d8c94c9c634de587dae3eb6fc886fe65
parent62dbee13a35b1705b6a300c708d3bd5736c7aadc (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