|
@@ -29,7 +29,8 @@ def get_token(request):
|
|
|
def google_auth(request):
|
|
|
user = User.objects.filter(username='admin@ercare').first()
|
|
|
if not user:
|
|
|
- return HttpResponse('<h1>You have to have a user account with username "admin@ercare". Please create a superuser using manage.py createsuperuser</h2>')
|
|
|
+ return HttpResponse('<h1>You have to have a user account with username "admin@ercare".'
|
|
|
+ ' Please create a superuser using manage.py createsuperuser</h2>')
|
|
|
return redirect('authorize')
|
|
|
|
|
|
|