diff options
Diffstat (limited to 'models.py')
-rw-r--r-- | models.py | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -160,7 +160,14 @@ class Group(SlugModel): verbose_name_plural = "groupes" +class RoomManager(Manager): + def qsjps(self, begin, end): + return None + + class Room(SlugModel): + objects = RoomManager() + name = models.CharField(max_length=255, unique=True, verbose_name="nom") slug = models.SlugField(max_length=64, default="", unique=True) |