diff options
author | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2016-07-04 16:35:20 -0300 |
---|---|---|
committer | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2016-07-04 16:50:35 -0300 |
commit | 579e2bc90acc9faac14c8c32048431d873d32e4b (patch) | |
tree | ac676448d8c94c9c634de587dae3eb6fc886fe65 | |
parent | 62dbee13a35b1705b6a300c708d3bd5736c7aadc (diff) |
fix some comments
-rw-r--r-- | devel/utils.py | 2 | ||||
-rw-r--r-- | local_settings.py.example | 12 |
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 |