Autogenerované komentáře a prázdné testy

This commit is contained in:
Jonas Havelka 2024-08-03 11:28:03 +02:00
parent 1d36cd0761
commit 8fef21900c
13 changed files with 0 additions and 30 deletions

View file

@ -5,7 +5,6 @@ from korektury.models import KorekturovanePDF
from django.core.mail import EmailMessage from django.core.mail import EmailMessage
from django.urls import reverse from django.urls import reverse
# Register your models here.
class KorekturovanePDFAdmin(VersionAdmin): class KorekturovanePDFAdmin(VersionAdmin):
""" """
nastaví čas vložení (:attr:`~koretkury.models.KorekturovanePDF.cas`) a počet nastaví čas vložení (:attr:`~koretkury.models.KorekturovanePDF.cas`) a počet

View file

@ -1,3 +0,0 @@
from django.test import TestCase
# Create your tests here.

View file

@ -1,3 +0,0 @@
from django.test import TestCase
# Create your tests here.

View file

@ -1,3 +0,0 @@
from django.shortcuts import render
# Create your views here.

View file

@ -1,3 +0,0 @@
from django.test import TestCase
# Create your tests here.

View file

@ -2,8 +2,6 @@ from django.contrib import admin
from .models import OdpovedUcastnika, SpravnaOdpoved, NapovezenoUcastnikovi, Napoveda from .models import OdpovedUcastnika, SpravnaOdpoved, NapovezenoUcastnikovi, Napoveda
# Register your models here.
admin.site.register(OdpovedUcastnika) admin.site.register(OdpovedUcastnika)
admin.site.register(SpravnaOdpoved) admin.site.register(SpravnaOdpoved)
admin.site.register(Napoveda) admin.site.register(Napoveda)

View file

@ -4,9 +4,6 @@ from django.utils import timezone
from personalni.models import Resitel from personalni.models import Resitel
# Create your models here.
class OdpovedUcastnika(models.Model): class OdpovedUcastnika(models.Model):
class Meta: class Meta:
ordering = ["-timestamp"] ordering = ["-timestamp"]

View file

@ -7,8 +7,6 @@ from .models import OdpovedUcastnika, SpravnaOdpoved, Napoveda, NapovezenoUcastn
from personalni.models import Resitel from personalni.models import Resitel
# Create your views here.
class SifrovackaView(FormView): class SifrovackaView(FormView):
template_name = 'sifrovacka/sifrovacka.html' template_name = 'sifrovacka/sifrovacka.html'
form_class = SifrovackaForm form_class = SifrovackaForm

View file

@ -1,3 +1 @@
from django.contrib import admin from django.contrib import admin
# Register your models here.

View file

@ -1,8 +1,6 @@
from django.http import HttpResponseForbidden from django.http import HttpResponseForbidden
from django.shortcuts import render from django.shortcuts import render
# Create your views here.
def csrf_error(request, reason=""): def csrf_error(request, reason=""):
""" Jednoduchý „template view“ (třída to být nemůže) pro CSRF chyby """ """ Jednoduchý „template view“ (třída to být nemůže) pro CSRF chyby """

View file

@ -2,6 +2,4 @@ from django.contrib import admin
from .models import UcastnikVyroci from .models import UcastnikVyroci
# Register your models here.
admin.site.register(UcastnikVyroci) admin.site.register(UcastnikVyroci)

View file

@ -1,7 +1,5 @@
from django.db import models from django.db import models
# Create your models here.
class UcastnikVyroci(models.Model): class UcastnikVyroci(models.Model):

View file

@ -6,8 +6,6 @@ from .forms import UcastnikVyrociForm
from .models import UcastnikVyroci from .models import UcastnikVyroci
# Create your views here.
class VyrociView(FormView): class VyrociView(FormView):
template_name = 'vyroci/vyroci.html' template_name = 'vyroci/vyroci.html'
form_class = UcastnikVyrociForm form_class = UcastnikVyrociForm