mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-22 16:02:16 +00:00
Fix pycodestyle, experiment with custom buildpack
This commit is contained in:
@@ -129,7 +129,6 @@ class TestSampleDataGenerator(TestCase):
|
|||||||
assert response.status_code == 403
|
assert response.status_code == 403
|
||||||
self.client.logout()
|
self.client.logout()
|
||||||
|
|
||||||
|
|
||||||
def test_keyholder_access(self):
|
def test_keyholder_access(self):
|
||||||
assert self.client.login(username="keyholder", password="keyholder")
|
assert self.client.login(username="keyholder", password="keyholder")
|
||||||
|
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ class Profile(AbstractUser):
|
|||||||
phone = models.CharField(max_length=13, null=True, default='')
|
phone = models.CharField(max_length=13, null=True, default='')
|
||||||
api_key = models.CharField(max_length=40, blank=True, editable=False, default='')
|
api_key = models.CharField(max_length=40, blank=True, editable=False, default='')
|
||||||
is_approved = models.BooleanField(default=False)
|
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)
|
last_emailed = models.DateTimeField(blank=True, null=True)
|
||||||
dark_theme = models.BooleanField(default=False)
|
dark_theme = models.BooleanField(default=False)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user