|
|
@ -66,14 +66,14 @@ class HonoraryCertificate(Intern): |
|
|
|
''' this class is also used for accreditations ''' |
|
|
|
|
|
|
|
# request_url = models.CharField(max_length=2000) |
|
|
|
project = models.ForeignKey(Project, null = True, on_delete = models.SET_NULL) |
|
|
|
project = models.ForeignKey(Project, null=True, blank=True, on_delete=models.SET_NULL) |
|
|
|
|
|
|
|
def __str__(self): |
|
|
|
return "Certificate for " + self.realname |
|
|
|
|
|
|
|
|
|
|
|
class Travel(Intern): |
|
|
|
project = models.ForeignKey(Project, on_delete = models.CASCADE) |
|
|
|
project = models.ForeignKey(Project, on_delete=models.CASCADE) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|