diff --git a/osinaweb/db.sqlite3 b/osinaweb/db.sqlite3 index 113f806a..29921dfe 100644 Binary files a/osinaweb/db.sqlite3 and b/osinaweb/db.sqlite3 differ diff --git a/osinaweb/osinacore/add/__pycache__/views.cpython-310.pyc b/osinaweb/osinacore/add/__pycache__/views.cpython-310.pyc index a38c68ef..f087b8ff 100644 Binary files a/osinaweb/osinacore/add/__pycache__/views.cpython-310.pyc and b/osinaweb/osinacore/add/__pycache__/views.cpython-310.pyc differ diff --git a/osinaweb/osinacore/add/views.py b/osinaweb/osinacore/add/views.py index 5df1f404..ffb73822 100644 --- a/osinaweb/osinacore/add/views.py +++ b/osinaweb/osinacore/add/views.py @@ -719,7 +719,7 @@ def add_ticket(request, customer_id): ) ticket_attachment.save() - return redirect('ticketdetails', ticket_number=ticket.ticket_number) + return redirect('ticketroom', ticket_number=ticket.ticket_number) context = { 'customer_products': customer_products, diff --git a/osinaweb/osinaweb/__pycache__/settings.cpython-310.pyc b/osinaweb/osinaweb/__pycache__/settings.cpython-310.pyc index f5d16d06..c4b5f625 100644 Binary files a/osinaweb/osinaweb/__pycache__/settings.cpython-310.pyc and b/osinaweb/osinaweb/__pycache__/settings.cpython-310.pyc differ diff --git a/osinaweb/osinaweb/settings.py b/osinaweb/osinaweb/settings.py index 8b22bdba..eba5bddc 100644 --- a/osinaweb/osinaweb/settings.py +++ b/osinaweb/osinaweb/settings.py @@ -162,5 +162,5 @@ EMAIL_HOST = 'osinamail.ositcom.com' EMAIL_PORT = 587 EMAIL_HOST_USER = 'osina@ositcom.com' DEFAULT_FROM_EMAIL = 'osina@ositcom.com' -EMAIL_HOST_PASSWORD = 'ibiyes4700' +EMAIL_HOST_PASSWORD = 'EMILEselim!@67' EMAIL_USE_TLS = True diff --git a/osinaweb/support/__pycache__/models.cpython-310.pyc b/osinaweb/support/__pycache__/models.cpython-310.pyc index 826313bf..ec3f6a48 100644 Binary files a/osinaweb/support/__pycache__/models.cpython-310.pyc and b/osinaweb/support/__pycache__/models.cpython-310.pyc differ diff --git a/osinaweb/support/models.py b/osinaweb/support/models.py index 578f42b3..9bb20709 100644 --- a/osinaweb/support/models.py +++ b/osinaweb/support/models.py @@ -33,7 +33,7 @@ def send_ticket(ticket_id): }) plain_message = strip_tags(html_message) from_email = settings.DEFAULT_FROM_EMAIL - to_email = staff.user.email + to_email = customer.user.email send_mail(subject, plain_message, from_email, [to_email], html_message=html_message)