From a2315eb0c4b0c9cca9d61cf5d706f3fb05936348 Mon Sep 17 00:00:00 2001 From: Alex Seeholzer Date: Fri, 13 Jan 2017 17:39:56 +0100 Subject: [PATCH] added pep8 fix and missing migration --- .../0014_usersettings_related_name.py | 20 +++++++++++++++++++ helpdesk/tests/test_ticket_actions.py | 2 +- 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 helpdesk/migrations/0014_usersettings_related_name.py diff --git a/helpdesk/migrations/0014_usersettings_related_name.py b/helpdesk/migrations/0014_usersettings_related_name.py new file mode 100644 index 00000000..133f90bc --- /dev/null +++ b/helpdesk/migrations/0014_usersettings_related_name.py @@ -0,0 +1,20 @@ +# -*- coding: utf-8 -*- +from __future__ import unicode_literals + +from django.db import migrations, models +from django.conf import settings + + +class Migration(migrations.Migration): + + dependencies = [ + ('helpdesk', '0013_email_box_local_dir_and_logging'), + ] + + operations = [ + migrations.AlterField( + model_name='usersettings', + name='user', + field=models.OneToOneField(to=settings.AUTH_USER_MODEL, related_name='usersettings_helpdesk'), + ), + ] diff --git a/helpdesk/tests/test_ticket_actions.py b/helpdesk/tests/test_ticket_actions.py index e8e879a0..42fd11a8 100644 --- a/helpdesk/tests/test_ticket_actions.py +++ b/helpdesk/tests/test_ticket_actions.py @@ -127,4 +127,4 @@ class TicketActionsTestCase(TestCase): response = self.client.get(reverse('helpdesk:submit'), follow=True) self.assertEqual(response.status_code, 200) - # TODO this needs to be checked further \ No newline at end of file + # TODO this needs to be checked further