Skip to content

Commit

Permalink
Merge pull request #258 from domdinicola/feature/remove_py2_legacy
Browse files Browse the repository at this point in the history
remove py2 legacy
  • Loading branch information
tomturner committed Apr 9, 2019
2 parents e32111b + 6072a4c commit 3563865
Show file tree
Hide file tree
Showing 8 changed files with 2 additions and 19 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
from . import TenantWrappedCommand
from django.contrib.staticfiles.management.commands import collectstatic

Expand Down
2 changes: 0 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-
#
# dinnertime documentation build configuration file, created by
# sphinx-quickstart on Wed Aug 19 10:27:46 2009.
#
Expand Down
4 changes: 2 additions & 2 deletions docs/test.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Because django will not create tenants for you during your tests, we have packed
class BaseSetup(TenantTestCase):
def setUp(self):
super(BaseSetup, self).setUp()
super().setUp()
self.c = TenantClient(self.tenant)
def test_user_profile_view(self):
Expand Down Expand Up @@ -65,7 +65,7 @@ If you have there are two routines to look at ``setup_tenant`` and ``setup_domai
domain.ssl = True
def setUp(self):
super(BaseSetup, self).setUp()
super().setUp()
self.c = TenantClient(self.tenant)
def test_user_profile_view(self):
Expand Down
3 changes: 0 additions & 3 deletions dts_test_project/customers/migrations/0001_initial.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
# -*- coding: utf-8 -*-
from __future__ import unicode_literals

from django.db import models, migrations
import django_tenants.postgresql_backend.base

Expand Down
3 changes: 0 additions & 3 deletions dts_test_project/dts_test_app/migrations/0001_initial.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
# -*- coding: utf-8 -*-
from __future__ import unicode_literals

from django.db import models, migrations
from django.conf import settings

Expand Down
3 changes: 0 additions & 3 deletions examples/tenant_tutorial/customers/migrations/0001_initial.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
# -*- coding: utf-8 -*-
from __future__ import unicode_literals

from django.db import models, migrations
import django.contrib.postgres.fields
import django_tenants.postgresql_backend.base
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
# -*- coding: utf-8 -*-
# Generated by Django 1.9 on 2015-12-19 10:54
from __future__ import unicode_literals

from django.db import migrations, models
import django.db.models.deletion

Expand Down
2 changes: 0 additions & 2 deletions examples/tenant_tutorial/tenant_only/models.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from __future__ import unicode_literals

from django.db import models


Expand Down

0 comments on commit 3563865

Please sign in to comment.