1- # Copyright (c) Microsoft. All rights reserved. Licensed under the MIT license. See full license at the bottom of this file .
1+ # Copyright (c) Microsoft. All rights reserved. Licensed under the MIT license. See LICENSE.txt in the project root for license information .
22from django .shortcuts import render
33from django .http import HttpResponse , HttpResponseRedirect
44from django .core .urlresolvers import reverse
@@ -67,25 +67,4 @@ def contacts(request):
6767 else :
6868 contacts = get_my_contacts (access_token , user_email )
6969 context = { 'contacts' : contacts ['value' ] }
70- return render (request , 'tutorial/contacts.html' , context )
71-
72- # MIT License:
73-
74- # Permission is hereby granted, free of charge, to any person obtaining
75- # a copy of this software and associated documentation files (the
76- # ""Software""), to deal in the Software without restriction, including
77- # without limitation the rights to use, copy, modify, merge, publish,
78- # distribute, sublicense, and/or sell copies of the Software, and to
79- # permit persons to whom the Software is furnished to do so, subject to
80- # the following conditions:
81-
82- # The above copyright notice and this permission notice shall be
83- # included in all copies or substantial portions of the Software.
84-
85- # THE SOFTWARE IS PROVIDED ""AS IS"", WITHOUT WARRANTY OF ANY KIND,
86- # EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
87- # MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
88- # NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
89- # LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
90- # OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
91- # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
70+ return render (request , 'tutorial/contacts.html' , context )
0 commit comments