Compare commits

...

5 commits

6 changed files with 6 additions and 5 deletions

View file

@ -41,6 +41,7 @@ jobs:
platform: linux/amd64,linux/arm64/v8
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
draft:
runs-on: ubuntu-latest
needs: test

View file

@ -8,10 +8,11 @@ DEBUG = False
ALLOWED_HOSTS = [
'csmb-housewars.c4patino.com',
'collegiate-housewars-02810c3f29dc.herokuapp.com',
]
CSRF_TRUSTED_ORIGINS = [
'https://csmb-housewars.c4patino.com/'
'http://collegiate-housewars-02810c3f29dc.herokuapp.com/'
]
DATABASES = {

View file

@ -10,7 +10,6 @@ services:
- 8000:8000
volumes:
- ./:/app
networks:
- housewars
environment:
@ -27,7 +26,6 @@ services:
- 3306:3306
volumes:
- housewars-mysql:/var/lib/mysql
networks:
- housewars
environment:

View file

@ -40,6 +40,6 @@ class UserEntryForm(Form):
# Verify that the email is unique
if UserEntry.objects.filter(email=email).exists():
raise ValidationError(
"A signup with this email already exists, if you want to change your signups, please email cpatino8605@slps.org.")
"A signup with this email already exists, if you want to change your signups, please email ipatino3341@slps.org.")
return email

View file

@ -6,6 +6,7 @@ charset-normalizer==3.3.2
Django==4.2.10
django-formtools==2.5.1
django-smart-selects==1.6.0
gunicorn==21.2.0
h11==0.14.0
idna==3.6
mysqlclient==2.2.4

View file

@ -123,7 +123,7 @@ class UserEntryCreatePageTest(StaticLiveServerTestCase):
error_text = self.browser.find_element(
By.CSS_SELECTOR, 'div.alert.alert-danger').text
self.assertEquals(
error_text, 'A signup with this email already exists, if you want to change your signups, please email cpatino8605@slps.org.')
error_text, 'A signup with this email already exists, if you want to change your signups, please email ipatino3341@slps.org.')
def test_invalid_activities_are_not_visible(self):
UserEntry.objects.create(first_name='Test', last_name='User', email='user.exist@slps.org', grade=9, house=self.house,