# -*- coding: utf-8 -*-
from __future__ import unicode_literals

from django.db import models

# Create your models here.

class Topic(models.Model):
    ID_number = models.CharField(max_length=30,unique = True)

    def __str__(self):
        return self.ID_number

class Info(models.Model):
    num = models.ForeignKey(Topic,on_delete=models.CASCADE)
    First = models.CharField(max_length=30,)
    Last = models.CharField(max_length=30,)
    email = models.EmailField(max_length=30,unique = True)

    def __str__(self):
        return self.First

ce5226dc5138e5a691b74def7d9ac819ad54ba61
<mask token>


class Topic(models.Model):
    <mask token>
    <mask token>


class Info(models.Model):
    num = models.ForeignKey(Topic, on_delete=models.CASCADE)
    First = models.CharField(max_length=30)
    Last = models.CharField(max_length=30)
    email = models.EmailField(max_length=30, unique=True)

    def __str__(self):
        return self.First

<mask token>


class Topic(models.Model):
    <mask token>

    def __str__(self):
        return self.ID_number


class Info(models.Model):
    num = models.ForeignKey(Topic, on_delete=models.CASCADE)
    First = models.CharField(max_length=30)
    Last = models.CharField(max_length=30)
    email = models.EmailField(max_length=30, unique=True)

    def __str__(self):
        return self.First

<mask token>


class Topic(models.Model):
    ID_number = models.CharField(max_length=30, unique=True)

    def __str__(self):
        return self.ID_number


class Info(models.Model):
    num = models.ForeignKey(Topic, on_delete=models.CASCADE)
    First = models.CharField(max_length=30)
    Last = models.CharField(max_length=30)
    email = models.EmailField(max_length=30, unique=True)

    def __str__(self):
        return self.First

from __future__ import unicode_literals
from django.db import models


class Topic(models.Model):
    ID_number = models.CharField(max_length=30, unique=True)

    def __str__(self):
        return self.ID_number


class Info(models.Model):
    num = models.ForeignKey(Topic, on_delete=models.CASCADE)
    First = models.CharField(max_length=30)
    Last = models.CharField(max_length=30)
    email = models.EmailField(max_length=30, unique=True)

    def __str__(self):
        return self.First

# -*- coding: utf-8 -*-
from __future__ import unicode_literals

from django.db import models

# Create your models here.

class Topic(models.Model):
    ID_number = models.CharField(max_length=30,unique = True)

    def __str__(self):
        return self.ID_number

class Info(models.Model):
    num = models.ForeignKey(Topic,on_delete=models.CASCADE)
    First = models.CharField(max_length=30,)
    Last = models.CharField(max_length=30,)
    email = models.EmailField(max_length=30,unique = True)

    def __str__(self):
        return self.First
