I have defined a user model inheriting AbstractUser from 
django.auth.models. How can I refer to each individual fields of that 
customized user model? Say if I want to refer to date of birth of the 
customised user what should I write? I need to show the user prifile, so in 
show_profile.html file, I wrote :

first name = {{ settings.AUTH_USER_MODEL.first_name }}
date 0f birth = {{ settings.AUTH_USER_MODEL.dob }}

But it didn't work. Any idea?

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/72604294-4cd7-4951-9fc9-ddbafb53070co%40googlegroups.com.

Reply via email to