1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-14 06:11:16 +00:00

Added repo download link

This commit is contained in:
zhengxie
2012-12-15 14:53:15 +08:00
parent f8cb9ef2f1
commit 919e286b83
5 changed files with 39 additions and 8 deletions

View File

@@ -9,7 +9,7 @@ class AuthTokenSerializer(serializers.Serializer):
def validate(self, attrs):
username = attrs.get('username')
password = attrs.get('password')
print username, password
if username and password:
user = authenticate(username=username, password=password)