Room: replace metaInformationForLocating with a foreign-key to a RoomTag

Bug #1140500 reported by Luke Faraone
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Dormbase
New
Medium
Unassigned

Bug Description

A string is really hard to query, so instead we should just do a ManyToMany field against an (as of yet nonextant) model for a RoomTag.

Suggested model code:

class RoomTagType(models.Model):
    name = models.CharField(max_length)

class RoomTag(models.Model):
    name = models.CharField(max_length)
    type = models.ForeignKey(RoomTagType)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.