From many to many fields added to a profile does not work - django-userena

I am using django-userena . In UserProfile, I added a multi-headed field and a gender field. These fields appear in the admin user interface (and can be saved and edited there), but not in the templates. Gender and language missing fields. Will you help Thanks

Here is admin screesnhot and here is my user profile form

Here is my UserProfile model

 optional = dict(blank=True, null=True) class UserProfile(UserenaBaseProfile): MALE = 1 FEMALE = 2 SEX_CHOICES = ( (MALE,'Male'), (FEMALE,'Female'), ) user = models.OneToOneField(User, unique=True, verbose_name=_('user'), related_name='user_profile') first_name = models.CharField(max_length=100,**optional) last_name = models.CharField(max_length=100,**optional) test = models.CharField(max_length=100,**optional) gender = models.IntegerField(choices = SEX_CHOICES,**optional) language = models.ManyToManyField(Category) 
+1
source share

All Articles