diff --git a/benchcoach/contrib/sites/migrations/0003_set_site_domain_and_name.py b/benchcoach/contrib/sites/migrations/0003_set_site_domain_and_name.py index f83474b..fefa49c 100644 --- a/benchcoach/contrib/sites/migrations/0003_set_site_domain_and_name.py +++ b/benchcoach/contrib/sites/migrations/0003_set_site_domain_and_name.py @@ -23,7 +23,7 @@ def _update_or_create_site_with_sequence(site_model, connection, domain, name): # site is created. # To avoid this, we need to manually update DB sequence and make sure it's # greater than the maximum value. - max_id = site_model.objects.order_by('-id').first().id + max_id = site_model.objects.order_by("-id").first().id with connection.cursor() as cursor: cursor.execute("SELECT last_value from django_site_id_seq") (current_id,) = cursor.fetchone() diff --git a/benchcoach/templates/base.html b/benchcoach/templates/base.html index 3eb54a6..74d6118 100644 --- a/benchcoach/templates/base.html +++ b/benchcoach/templates/base.html @@ -36,7 +36,7 @@ - +