diff options
Diffstat (limited to 'models.py')
-rw-r--r-- | models.py | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -20,16 +20,12 @@ from django.db.models.expressions import RawSQL from django.db.models.functions import Extract, ExtractYear from django.utils.text import slugify -from .db import GroupedManager +from .db import ExtractWeek, GroupedManager import hashlib import os -class ExtractWeek(Extract): - lookup_name = "week" - - class Timetable(models.Model): name = models.CharField(max_length=64, unique=True, verbose_name="nom") url = models.URLField(max_length=255, unique=True, verbose_name="URL") |