Commit 0ac31661 authored by Elias Sagmo Larsen's avatar Elias Sagmo Larsen
Browse files

pylint/models_UnusedImports

parent 1617e0e9
Pipeline #127914 passed with stage
in 31 seconds
"""Contains the models for the facilities Django application. Admins create facilities,
which contain descriptions, images and location.
"""
import os
from django.core.validators import MaxValueValidator, MinValueValidator
from django.db import models
from .validators import max_words
def facility_directory_path(instance, filename):
......@@ -37,7 +37,6 @@ class Facility(models.Model):
image4: Image of the facility
image5: Image of the facility
"""
from .validators import image_size, max_words
name = models.CharField(max_length=50, unique=True)
date = models.DateField()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment