from django.db import models

class Member(models.Model): 
    mail = models.EmailField(primary_key=True)
    first_name = models.CharField(max_length=20)
    last_name = models.CharField(max_length=30)
    picture = models.ImageField()
    birthday = models.DateField()
    tag = models.SmallIntegerField()
    status = models.BooleanField()
    mobile = models.CharField(max_length=15)
    telephone = models.CharField(max_length=15)
    register_date = models.DateField()
    dash_board_text = models.TextField()
    adresse = models.CharField(max_length=200)
    visibility = models.SmallIntegerField()
    time_credit = models.BigIntegerField()
    accepted = models.BooleanField()
    
    
@@ -21,16 +21,72 @@
 t models
+%0A#from django.db.models.fields.related import ForeignKey
 %0A%0Aclass 
@@ -741,12 +741,275 @@
 ()%0A    %0A    
+branch = models.ManyToManyField('Branch')%0A    favorite = models.ForeignKey(%22self%22)%0A    ignored = models.ForeignKey(%22self%22)%0A    #personal_network = models.ForeignKey(self)%0A    job = models.ManyToManyField('Job')%0A    message = models.ManyToManyField('Message')%0A    

update member.py