From 26a2d4a684db273ff707428e36911741a37532f2 Mon Sep 17 00:00:00 2001 From: luxagraf Date: Sun, 13 Feb 2022 16:48:54 -0500 Subject: main: updated to django 4.0 --- app/media/admin.py | 2 -- app/media/models.py | 1 - 2 files changed, 3 deletions(-) (limited to 'app/media') diff --git a/app/media/admin.py b/app/media/admin.py index 305ebd7..0706f7b 100644 --- a/app/media/admin.py +++ b/app/media/admin.py @@ -1,8 +1,6 @@ from django.contrib import admin from django import forms from django.contrib.gis.admin import OSMGeoAdmin -from django.conf.urls import url -from django.utils.translation import ungettext, ugettext_lazy as _ from .models import LuxImage, LuxGallery, LuxImageSize, LuxVideo from django.shortcuts import render from django.contrib.admin import helpers diff --git a/app/media/models.py b/app/media/models.py index 48fe9c9..d9becf4 100644 --- a/app/media/models.py +++ b/app/media/models.py @@ -10,7 +10,6 @@ from django.contrib.sitemaps import Sitemap from django.db.models.signals import post_save from django.dispatch import receiver from django.db.models.signals import m2m_changed -from django.utils.encoding import force_text from django.utils.functional import cached_property from django.urls import reverse from django.apps import apps -- cgit v1.2.3-70-g09d2