translation.activate(self.language_code)
for user in users:
profile, c = Profile.objects.get_or_create(user=user)
- student = user.crfpa_student.all()
+ student = user.student.all()
professor = user.professor.all()
if student or professor:
if profile and user.is_active:
<div id="postman" class="desk_messages">
<h1>{% block pm_write_title %}{% endblock %}</h1>
-{% if user.crfpa_student.all or user.is_staff %}
+{% if user.student.all or user.is_staff %}
<div style="padding-top: 0.5em;">
<select id="_adminSelect" name="admins" onchange="update_recipients();">
<td><a href="{% url teleforma-profile-detail user.username %}">{{ user.last_name }}</a></td>
<td><a href="{% url teleforma-profile-detail user.username %}">{{ user.first_name }}</a></td>
- {% if user.crfpa_student.get %}
- {% with user.crfpa_student.get as student %}
+ {% if user.student.get %}
+ {% with user.student.get as student %}
<td>{{ student.iej.name }}</td>
<td>{{ student.training }}</td>
<td>{{ student.procedure.code }}</td>