Skip to content
This repository was archived by the owner on Aug 26, 2024. It is now read-only.

Commit db3923f

Browse files
committed
remove another PR code snippet
1 parent e852e05 commit db3923f

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

gsoc/models.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -187,16 +187,6 @@ class Meta:
187187
def __str__(self):
188188
return str(self.gsoc_year)
189189

190-
def save(self, *args, **kwargs):
191-
try:
192-
end_date = GsocEndDate.objects.get(
193-
date__contains=datetime.datetime.now().year
194-
)
195-
if end_date.date < datetime.datetime.now().date():
196-
super(GsocYear, self).save(*args, **kwargs)
197-
except GsocEndDate.DoesNotExist:
198-
pass
199-
200190

201191
class SubOrgDetails(models.Model):
202192
suborg_admin = models.ForeignKey(

0 commit comments

Comments
 (0)