Fix pycodestyle, experiment with custom buildpack

This commit is contained in:
2021-02-08 19:20:35 +00:00
parent 6676183443
commit a9b034255e
3 changed files with 2 additions and 3 deletions

View File

@@ -129,7 +129,6 @@ class TestSampleDataGenerator(TestCase):
assert response.status_code == 403
self.client.logout()
def test_keyholder_access(self):
assert self.client.login(username="keyholder", password="keyholder")

View File

@@ -24,7 +24,7 @@ class Profile(AbstractUser):
phone = models.CharField(max_length=13, null=True, default='')
api_key = models.CharField(max_length=40, blank=True, editable=False, default='')
is_approved = models.BooleanField(default=False)
# Currently only populated by the admin approval email. TODO: Populate it each time we send any email, might need that...
# Currently only populated by the admin approval email. TODO: Populate it each time we send any email, might need that...
last_emailed = models.DateTimeField(blank=True, null=True)
dark_theme = models.BooleanField(default=False)

View File

@@ -51,7 +51,7 @@
"url": "heroku/nodejs"
},
{
"url": "heroku/python"
"url": "https://github.com/nottinghamtec/heroku-buildpack-python"
}
]
}