When i am trying to edit the file the code is properly indented, no idea
why it's coming like this here.


On Mon, Jul 22, 2013 at 9:11 PM, David Baumgold <notifications@github.com>wrote:

> In common/djangoapps/student/views.py:
>
> > +    interested_category=""
> > +    for code,categ in UserProfile.COURSE_CATEGORIES:
> > +	if code == str(area_interest):
> > +		interested_category = categ
> > +		break
> > +    query_course_category = "select courseName,courseCategory from course_categories where courseCategory='"+area_interest+"'"
> > +    cursor.execute(query_course_category)
> > +    row = cursor.fetchall()
> > +    similar_category_courses = []
> > +    for a in row:
> > +	similar_category_courses.append(a[0])
> > +
> > +    recommended_courses = get_courses(request.user, request.META.get('HTTP_HOST'))
> > +    recommend_courses = []
> > +    for check_course in recommended_courses:
> > +	registered = registered_for_course(check_course,request.user)
>
> Indentation seems way off throughout this file.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/edx/edx-platform/pull/300/files#r5321922>
> .
>