Skip to content

Commit

Permalink
updated django 2.2.28 to 3.0.14
Browse files Browse the repository at this point in the history
  • Loading branch information
4-dash committed Aug 2, 2024
1 parent 47060d7 commit ef78ed9
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
coverage==6.3.3
Django==2.2.28
Django==3.0.14
django-debug-toolbar==3.2.4
docutils==0.20.1
freezegun==1.2.2
Expand Down
2 changes: 1 addition & 1 deletion src/feedback/models/imports.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class Meta:


class ImportVeranstaltung(models.Model):
typ = models.CharField(max_length=1, choices=Veranstaltung.TYP_CHOICES)
typ = models.CharField(max_length=2, choices=Veranstaltung.TYP_CHOICES)
name = models.CharField(max_length=150)
lv_nr = models.CharField(max_length=15, blank=True)
veranstalter = models.ManyToManyField(ImportPerson, blank=True)
Expand Down
4 changes: 2 additions & 2 deletions src/feedback/views/veranstalter.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
from django.http import HttpResponseRedirect, Http404
from django.urls import reverse
from django.shortcuts import render
from django.shortcuts import render_to_response
from django.core.mail import send_mail
from django.template.loader import render_to_string

Expand Down Expand Up @@ -265,7 +264,8 @@ def done(self, form_list, **kwargs):
context = self.get_context_data('zusammenfassung')
send_mail_to_verantwortliche(ergebnis_empfaenger, context, instance)

return render_to_response('formtools/wizard/bestellung_done.html', )
return render(request=None, template_name='formtools/wizard/bestellung_done.html', )



def send_mail_to_verantwortliche(ergebnis_empfaenger, context, veranstaltung):
Expand Down
2 changes: 1 addition & 1 deletion src/templates/d120/header.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{% load staticfiles %}
{% load static %}
<nav class="navbar navbar-logos">
<div class="container" id="header">
<a href="https://www.fachschaft.informatik.tu-darmstadt.de"><img src="https://www.fachschaft.informatik.tu-darmstadt.de/static/d120/img/d120_logo.png" id="mainLogo" alt="D120: Fachschaft Informatik" class="pull-left"></a>
Expand Down

0 comments on commit ef78ed9

Please sign in to comment.