Fakultas Ilmu Komputer UI

Commit 9e44303d authored by Ryan Karyadiputera's avatar Ryan Karyadiputera
Browse files


parent 8436bea8
Pipeline #76817 passed with stage
in 2 minutes and 8 seconds
......@@ -89,11 +89,12 @@ class Mahasiswa(models.Model):
faculty = models.CharField('faculty', max_length=128, blank=True)
major = models.CharField('major', max_length=128, blank=True)
program = models.CharField('program', max_length=128, blank=True)
lastLogin = models.CharField('last login', max_length=128, blank=True)
periode = models.ForeignKey(Periode, related_name="periode", on_delete=models.CASCADE, null=True, blank=True)
supervisor_sekolah = models.ForeignKey(SupervisorSekolah, related_name='mahasiswa', \
to_field='user', on_delete=models.CASCADE, null=True, blank=True)
supervisor_lembaga = models.ForeignKey(SupervisorLembaga, related_name='mahasiswa',\
to_field='user', on_delete=models.CASCADE, null=False, blank=True)
to_field='user', on_delete=models.CASCADE, null=True, blank=True)
class Meta:
verbose_name = 'mahasiswa'
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment