society-for-the-blind / lynx

0 stars 0 forks source link

Add proper string representation to database models #6

Open toraritte opened 1 year ago

toraritte commented 1 year ago

Some actions are only possible through the admin page (e.g., to change the instructor of a SIP assignment), but most of the listings use the ID of the Django object as no string representation is provided (e.g., SIP assignments have obscure names such as "Assignment object (853)").

toraritte commented 1 year ago

Take the __str__ methods in models.py as examples.