Skip to content

Commit 70b86fe

Browse files
flake8 fixes
1 parent 930af31 commit 70b86fe

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

junction/profiles/views.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
# Junction Stuff
1111
from junction.conferences.models import Conference
1212

13-
#Profile Stuff
13+
# Profile Stuff
1414
from .models import Profile
1515

1616

@@ -30,11 +30,11 @@ def dashboard(request):
3030

3131
@login_required
3232
def profile(request):
33-
if request.method=="POST":
33+
if request.method == "POST":
3434
city = request.POST['city']
3535
contact_no = request.POST['contact_no']
3636
Profile.objects.create(user=request.user, city=city, contact_no=contact_no)
3737
return HttpResponseRedirect("/profiles")
3838

3939
elif request.method=="GET":
40-
return render(request, 'profiles/userprofile.html')
40+
return render(request, 'profiles/userprofile.html')

0 commit comments

Comments
 (0)