del: Unused code

This commit is contained in:
Jonas Havelka 2023-06-11 19:02:13 +02:00
parent 67d1a84047
commit acd220a0b5
14 changed files with 0 additions and 42 deletions

View file

@ -1,6 +1,3 @@
# -*- coding: utf-8 -*-
import os.path
#
# Produkcni nastaveni settings.py
@ -44,8 +41,6 @@ DATABASES = {
},
}
import os
SERVER_EMAIL = 'mamweb-prod-errors@mam.mff.cuni.cz'
ADMINS = [('M&M ERRORs', 'mam-errors@mam.mff.cuni.cz')]

View file

@ -1,7 +1,3 @@
# -*- coding: utf-8 -*-
import os.path
#
# Testovaci nastaveni settings.py (testovani na atreyi)
#
@ -48,8 +44,6 @@ DATABASES = {
},
}
import os
SERVER_EMAIL = 'mamweb-test-errors@mam.mff.cuni.cz'
ADMINS = [
('M&M ERRORs', 'mam-errors@mam.mff.cuni.cz'),

View file

@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
from django.contrib import admin
from django.contrib import messages
from reversion.admin import VersionAdmin

View file

@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-
from django.db import models
from django.utils.encoding import force_text

View file

@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
from django.shortcuts import render, get_object_or_404
from django.views import generic
from django.shortcuts import HttpResponseRedirect

View file

@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-
from django.core.management.base import BaseCommand
from django.contrib.sessions.models import Session
from django.contrib.auth.models import Group, Permission

View file

@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-
from django.core.management.base import BaseCommand
from django.contrib.sessions.models import Session
from django.contrib.auth.models import Group, Permission

View file

@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-
import datetime
import os
import random

View file

@ -1,12 +1,7 @@
# -*- coding: utf-8 -*-
import logging
import os
from django.db import models
from mamweb.models.base import SeminarModelBase
logger = logging.getLogger(__name__)
class Text(SeminarModelBase):
class Meta:

View file

@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-
import datetime
from django.contrib.auth.models import Permission

View file

@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-
import datetime
from django import views as DjangoViews

View file

@ -39,7 +39,6 @@ import os
import os.path as op
from django.conf import settings
import unicodedata
import logging
import time
# ze starého modelu
@ -52,8 +51,6 @@ import time
#def temata_v_rocniku(rocnik):
# return Problem.objects.filter(typ=Problem.TYP_TEMA, rocnik=rocnik)
logger = logging.getLogger(__name__)
def get_problemy_k_tematu(tema):
return Problem.objects.filter(nadproblem = tema)

View file

@ -1,6 +1,3 @@
# -*- coding: utf-8 -*-
import logging
from django.db import models
from django.urls import reverse
from django.contrib.contenttypes.models import ContentType
@ -14,8 +11,6 @@ from personalni import models as pm
from seminar.models.pomocne import Text
from odevzdavatko.models.reseni import Reseni
logger = logging.getLogger(__name__)
from tvorba import models as am

View file

@ -14,10 +14,6 @@ import treenode.forms as f
import treenode.templatetags as tnltt
import treenode.serializers as vr
import logging
logger = logging.getLogger(__name__)
class TNLData(object):
def __init__(self,anode,parent=None, index=None):