Skip to content

Conversation

tech-akash
Copy link

Issue that this pull request solves

Closes: # (issue number)

Proposed changes

Brief description of what is fixed or changed

Types of changes

Put an x in the boxes that apply

  • 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

Put an x in the boxes that apply

  • 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

Please attach the screenshots of the changes made in case of change in user interface

Other information

Any other information that is important to this pull request

@abhishekkumar5606
Copy link

looks good to me, ready to merge @akshatnema

Comment on lines +200 to +212
# class StudentAssignment(models.Model):
# student_id = models.ForeignKey(Student, on_delete=models.CASCADE)
# assignment_id = models.ForeignKey(CourseAssignment, on_delete=models.CASCADE)
# upload_time = models.DateTimeField(auto_now=True)
# # upload_url = models.TextField(max_length=200)
# doc = models.FileField(upload_to=assignment_submit_name, null=True, blank=True)
# score = models.IntegerField(null=True) #score is submitted by faculty
# feedback = models.CharField(max_length=100, null=True) #feedback by the faculty for the solution of the assignment submitted
# assign_name = models.CharField(max_length=100)

# def __str__(self):
# return '{} - {} - {} - {} - {}'.format(
# self.pk, self.student_id,
# self.assignment_id, self.score,
# self.feedback)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Kindly remove the comment which is not needed.

Copy link
Author

Choose a reason for hiding this comment

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

Will remove it after i am sure that any other module isn't using it

@akshatnema
Copy link
Collaborator

@PranshuNayak @samay-rgb Kindly review this PR

Copy link
Collaborator

@PranshuNayak PranshuNayak left a comment

Choose a reason for hiding this comment

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

Please push the migrations for the proposed schema changes.

@akshatnema akshatnema changed the base branch from ac-3 to test March 28, 2023 06:28
@akshatnema
Copy link
Collaborator

@PranshuNayak @samay-rgb waiting for your review.

@tech-akash Kindly resolve the merge conflicts.

@PranshuNayak PranshuNayak requested a review from samay-rgb March 28, 2023 06:31
@PranshuNayak
Copy link
Collaborator

@PranshuNayak @samay-rgb waiting for your review.

@tech-akash Kindly resolve the merge conflicts.

@tech-akash kindly push the remaining migrations too as discussed yesterday.

description = models.CharField(max_length=100)
document_name = models.CharField(max_length=40)
document_url = models.CharField(max_length=500, null=True,blank=True)
document_url = models.CharField(max_length=100, null=True,blank=True)
Copy link
Collaborator

Choose a reason for hiding this comment

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

use URLField instead of charfield for document_url . For charfields use max_length=255

course_id = models.ForeignKey(Course, on_delete=models.CASCADE)
upload_time = models.DateTimeField(auto_now=True)
document_name = models.CharField(max_length=40)
description = models.CharField(max_length=100)
Copy link
Collaborator

Choose a reason for hiding this comment

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

For charfields use max_length=255

@akshatnema akshatnema changed the title Ac-3 week -8 Prof can submit Marks to assignment and made site responsive ac-3: week-8: Prof can submit Marks to assignment and made site responsive Apr 4, 2023
@akshatnema akshatnema merged commit 3fba856 into FusionIIIT:test Apr 4, 2023
@samay-rgb
Copy link
Collaborator

@akshatnema Kindly revert the merged changes of this PR as it wasn't approved yet.

samay-rgb added a commit that referenced this pull request Apr 4, 2023
akshatnema added a commit that referenced this pull request Apr 4, 2023
…te responsive (#1156)" (#1207)

This reverts commit 3fba856.

Co-authored-by: Samay Sagar <[email protected]>
@tech-akash tech-akash mentioned this pull request Apr 8, 2023
11 tasks
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