[Answered ]-How do I pass user profile data with extra context in class-based generic views?


The question has nothing to do with the class-based views, it’s a simple matter of accessing a user profile. If your user profile is defined in the settings file as the AUTH_PROFILE_MODULE, then in the template you access it simply as {{ schedule.instructor.get_profile }}.

Leave a comment