diff options
Diffstat (limited to 'models.py')
-rw-r--r-- | models.py | 6 |
1 files changed, 0 insertions, 6 deletions
@@ -1,17 +1,11 @@ from django.db import models from django.db.models import Q -from django.db.models.functions import Extract from django.utils.text import slugify import hashlib import os -@models.DateTimeField.register_lookup -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") |