django - Extending the User to add a profile_pic -
in older versions of django extends user model , create userprofile. seems in django 1.8 not same anymore. im looking examples in django 1.8 . here example found somewhere on net, not extend anything. want extend user can still use user object in tempaltes etc. class myuser(abstractbaseuser): """ custom user class. """ gender_choices = ( ('m', 'male'), ('f', 'female'), ) email = models.emailfield('email address', unique=true, db_index=true) is_staff = models.booleanfield('is staff', default=false) first_name = models.textfield('first name', default=none, null=true) last_name = models.textfield('last name', default=none, null=true) date_of_birth = models.datefield('date of birth', null=true) avatar = models.imagefield('profile picture', upload_to='static/media/images/avatars/', null=true, blank=true) ...