Skip to content

Conversation

Smeetiiitdmj
Copy link

Issue that this pull request solves

Closes: #1013

Proposed changes

Solved issues as well as completed the tasks assigned.

Types of changes

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Other (please describe):

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have created new branch for this pull request
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • My changes does not break the current system and it passes all the current test cases.

Screenshots

1
2
3

@FusionIIIT-Bot
Copy link
Collaborator

Congratulations for making your first Pull Request at Fusion!! 🎉 Someone from our team will review it soon.

Copy link

@rishiktejatanugula rishiktejatanugula left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved @akshatnema

Copy link
Collaborator

@akshatnema akshatnema left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Kindly answer the queries made.

Comment on lines 2625 to 2634
# if int(str(profile.id)[:2]) == 20:
# if (now.month>4):
# roll = 1+now.year-int(str(profile.id)[:4])
# else:
# roll = now.year-int(str(profile.id)[:4])
# else:
# if (now.month>4):
# roll = 1+(now.year)-int("20"+str(profile.id)[0:2])
# else:
# roll = (now.year)-int("20"+str(profile.id)[0:2])
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
# if int(str(profile.id)[:2]) == 20:
# if (now.month>4):
# roll = 1+now.year-int(str(profile.id)[:4])
# else:
# roll = now.year-int(str(profile.id)[:4])
# else:
# if (now.month>4):
# roll = 1+(now.year)-int("20"+str(profile.id)[0:2])
# else:
# roll = (now.year)-int("20"+str(profile.id)[0:2])
# if int(str(profile.id)[:2]) == 20:
# if (now.month>4):
# roll = 1+now.year-int(str(profile.id)[:4])
# else:
# roll = now.year-int(str(profile.id)[:4])
# else:
# if (now.month>4):
# roll = 1+(now.year)-int("20"+str(profile.id)[0:2])
# else:
# roll = (now.year)-int("20"+str(profile.id)[0:2])

Kindly remove these comments if not needed.

Comment on lines 2613 to 2617
# print("Student------>",vars(student_info))
batch=student_info.batch
# print("Year----->",user.date_joined.year)
# print("User----->",vars(user))
# print("Profile---->",vars(profile))
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same goes for the comments in these lines too.

requirements.txt Outdated
xlrd==2.0.1
XlsxWriter==1.3.7
xlwt==1.3.0
xlwt==1.3.0
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The changes in the requirements file are not acceptable. Kindly remove these changes from the file.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Smeetiiitdmj These changes are not removed yet. Kindly remove these changes.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Kindly check now, I have committed

Comment on lines 371 to 378
<td style="border:1px solid black; text-align:center">{{ rec.id }}</td>
{% comment %} <td style="border:1px solid black;">{{ rec.placement_type }}</td> {% endcomment %}
<td style="border:1px solid black; text-align:center">{{ rec.name }}</td>
<td style="border:1px solid black; text-align:center">{{ rec.ctc }}</td>
{% comment %} <td style="border:1px solid black; text-align:center">{{ rec.year }}</td> {% endcomment %}
{% comment %} <td style="border:1px solid black;">{{ rec.test_score }}</td> {% endcomment %}
{% comment %} <td style="border:1px solid black;">{{ rec.test_type }}</td> {% endcomment %}
{% comment %} <td>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why so many lines in the UI are commented in the HTML files?

Comment on lines 364 to 366
{% comment %} <th style="border:1px solid black; ">Year</th> {% endcomment %}
{% comment %} <th style="border:1px solid black;">Test Score</th>
<th style="border:1px solid black;">Test Type</th> {% endcomment %}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same goes for here too.

Comment on lines 333 to 334
# id = models.OneToOneField(ExtraInfo, on_delete=models.CASCADE, primary_key=True)
# id = models.OneToOneField(ExtraInfo, on_delete=models.CASCADE, primary_key=True)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
# id = models.OneToOneField(ExtraInfo, on_delete=models.CASCADE, primary_key=True)
# id = models.OneToOneField(ExtraInfo, on_delete=models.CASCADE, primary_key=True)
# id = models.OneToOneField(ExtraInfo, on_delete=models.CASCADE, primary_key=True)
# id = models.OneToOneField(ExtraInfo, on_delete=models.CASCADE, primary_key=True)

remove the code comments if not needed.

# imports
import datetime

from applications.globals.models import ExtraInfo
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the module has been imported but not used.

Copy link
Author

@Smeetiiitdmj Smeetiiitdmj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes are committed

@akshatnema
Copy link
Collaborator

@SmeetChavan this is a duplicate PR. changes are already merged in sa-4 via #1115. Closing this PR.

@akshatnema akshatnema closed this Mar 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants