Browse Source

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

pull/58/head
Jonas Havelka 4 months ago
parent
commit
8fef21900c
  1. 1
      korektury/admin.py
  2. 3
      korektury/tests.py
  3. 3
      novinky/tests.py
  4. 3
      novinky/views.py
  5. 3
      prednasky/tests.py
  6. 2
      sifrovacka/admin.py
  7. 3
      sifrovacka/models.py
  8. 2
      sifrovacka/views.py
  9. 2
      various/admin.py
  10. 2
      various/views.py
  11. 2
      vyroci/admin.py
  12. 2
      vyroci/models.py
  13. 2
      vyroci/views.py

1
korektury/admin.py

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

3
korektury/tests.py

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

3
novinky/tests.py

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

3
novinky/views.py

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

3
prednasky/tests.py

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

2
sifrovacka/admin.py

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

3
sifrovacka/models.py

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

2
sifrovacka/views.py

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

2
various/admin.py

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

2
various/views.py

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

2
vyroci/admin.py

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

2
vyroci/models.py

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

2
vyroci/views.py

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

Loading…
Cancel
Save