Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

198
Views
How to render multiple forms with different data in django view

I have an attendance model using which I want to mark attendance of a list of users for a particular day. But I can't figure out how should I build the view that allows me to render a html table of users with their corresponding attendance form in one column of table in the template. My model for attendance:

class Attendance(models.Model):
    ATTENDANCE_TYPES = (
        ('present', 'Present'),
        ('absent', 'Absent'),
    )
    date = models.DateField("Date")
    author = models.ForeignKey(User,related_name='attendances_taken')
    is_present = models.BooleanField(default='True')
    student = models.ForeignKey(User,related_name='course_attendances')
    classroom = models.ForeignKey(Classroom,related_name='student_attendance')
over 4 years ago · Santiago Trujillo
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!