Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/local' into local
Browse files Browse the repository at this point in the history
  • Loading branch information
Roberamelaek committed Aug 15, 2023
2 parents db04678 + 038afa3 commit efe94f4
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions backend/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,17 +37,6 @@ class Student(models.Model):
def __str__(self):
return f"{self.first_name} {self.last_name}"


class Mainuser(models.Model):
fullname = models.CharField(max_length=100)
username = models.CharField(max_length=50)
password = models.CharField(max_length=255)
email = models.EmailField()
j_number = models.IntegerField()
role = models.CharField(max_length=50)
def __str__(self):
return self.first_name

# # create a model with two different user
# class Mentor(models.Model):
# user = models.OneToOneField(User, on_delete=models.CASCADE, primary_key=True, related_name='mentor')
Expand Down

0 comments on commit efe94f4

Please sign in to comment.