diff options
author | Russell Sim <russell@vpac.org> | 2009-07-08 11:06:00 +1000 |
---|---|---|
committer | Russell Sim <russell@vpac.org> | 2009-07-08 11:06:00 +1000 |
commit | f3275e1a788f4bd06cb506920c0f7a60ec26c31d (patch) | |
tree | a415d22261b326151a16a3debc783870070e70c4 | |
parent | 19b2c7c9c4268e0cc19ea238bce857a93220c32c (diff) | |
download | chishop-f3275e1a788f4bd06cb506920c0f7a60ec26c31d.tar.bz2 chishop-f3275e1a788f4bd06cb506920c0f7a60ec26c31d.tar.xz chishop-f3275e1a788f4bd06cb506920c0f7a60ec26c31d.zip |
changed basic auth relm to mactch pypi.python.org, fixes registration
-rw-r--r-- | djangopypi/views.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/djangopypi/views.py b/djangopypi/views.py index 047494d..90929a1 100644 --- a/djangopypi/views.py +++ b/djangopypi/views.py | |||
@@ -161,7 +161,7 @@ def submit_project_or_release(user, post_data, files): | |||
161 | def register_or_upload(request, post_data, files): | 161 | def register_or_upload(request, post_data, files): |
162 | user = login_basic_auth(request) | 162 | user = login_basic_auth(request) |
163 | if not user: | 163 | if not user: |
164 | return HttpResponseUnauthorized('PyPI') | 164 | return HttpResponseUnauthorized('pypi') |
165 | 165 | ||
166 | login(request, user) | 166 | login(request, user) |
167 | if not request.user.is_authenticated(): | 167 | if not request.user.is_authenticated(): |