-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #292 from kenanwright1988/disable_registrations
Disable registrations for external hackathons
- Loading branch information
Showing
11 changed files
with
155 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Generated by Django 3.1.13 on 2024-09-11 08:30 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('hackathon', '0048_auto_20221219_1655'), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name='hackathon', | ||
name='is_register', | ||
field=models.BooleanField(default=True), | ||
), | ||
] |
18 changes: 18 additions & 0 deletions
18
hackathon/migrations/0050_hackathon_google_registrations_form.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Generated by Django 3.1.13 on 2024-09-11 11:48 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('hackathon', '0049_hackathon_is_register'), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name='hackathon', | ||
name='google_registrations_form', | ||
field=models.URLField(blank=True, default='', help_text='Link to the Google Form for registrations.'), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Generated by Django 3.1.13 on 2024-09-11 13:06 | ||
|
||
from django.db import migrations | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('hackathon', '0050_hackathon_google_registrations_form'), | ||
] | ||
|
||
operations = [ | ||
migrations.RenameField( | ||
model_name='hackathon', | ||
old_name='google_registrations_form', | ||
new_name='google_registration_form', | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Generated by Django 3.1.13 on 2024-09-12 13:24 | ||
|
||
from django.db import migrations | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('hackathon', '0051_auto_20240911_1306'), | ||
] | ||
|
||
operations = [ | ||
migrations.RenameField( | ||
model_name='hackathon', | ||
old_name='google_registration_form', | ||
new_name='registration_form', | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Generated by Django 3.1.13 on 2024-09-12 15:27 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('hackathon', '0052_auto_20240912_1324'), | ||
] | ||
|
||
operations = [ | ||
migrations.RemoveField( | ||
model_name='hackathon', | ||
name='is_register', | ||
), | ||
migrations.AddField( | ||
model_name='hackathon', | ||
name='allow_external_registrations', | ||
field=models.BooleanField(default=False), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
echo "============================" | ||
echo "Seeding fixtures" | ||
echo "============================" | ||
docker-compose exec hackathon-app python3 manage.py loaddata organisation | ||
docker-compose exec hackathon-app python3 manage.py loaddata accounts | ||
docker-compose exec hackathon-app python3 manage.py loaddata resources | ||
docker-compose exec hackathon-app python3 manage.py loaddata profiles | ||
docker-compose exec hackathon-app python3 manage.py loaddata emailaddresses | ||
docker-compose exec hackathon-app python3 manage.py loaddata hackathons | ||
docker-compose exec hackathon-app python3 manage.py loaddata showcase | ||
docker-compose exec hackathon-app python3 manage.py loaddata showcase_site_settings | ||
docker-compose exec hackathon-app python3 manage.py loaddata reviews | ||
docker compose exec hackathon-app python3 manage.py loaddata organisation | ||
docker compose exec hackathon-app python3 manage.py loaddata accounts | ||
docker compose exec hackathon-app python3 manage.py loaddata resources | ||
docker compose exec hackathon-app python3 manage.py loaddata profiles | ||
docker compose exec hackathon-app python3 manage.py loaddata emailaddresses | ||
docker compose exec hackathon-app python3 manage.py loaddata hackathons | ||
docker compose exec hackathon-app python3 manage.py loaddata showcase | ||
docker compose exec hackathon-app python3 manage.py loaddata showcase_site_settings | ||
docker compose exec hackathon-app python3 manage.py loaddata reviews |