-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixes and improvements in events and registration
- Loading branch information
Bhuvnesh Sharma
authored and
Bhuvnesh Sharma
committed
Sep 25, 2024
1 parent
a66c009
commit 20213d1
Showing
5 changed files
with
155 additions
and
74 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
58 changes: 58 additions & 0 deletions
58
backend/djangoindia/db/migrations/0008_event_max_seats_event_seats_left_and_more.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,58 @@ | ||
# Generated by Django 4.2.5 on 2024-09-25 16:28 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('db', '0007_sponsor_remove_event_event_end_date_and_more'), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name='event', | ||
name='max_seats', | ||
field=models.IntegerField(blank=True, null=True), | ||
), | ||
migrations.AddField( | ||
model_name='event', | ||
name='seats_left', | ||
field=models.IntegerField(blank=True, null=True), | ||
), | ||
migrations.AddField( | ||
model_name='sponsorship', | ||
name='amount_inr', | ||
field=models.IntegerField(blank=True, null=True), | ||
), | ||
migrations.AlterField( | ||
model_name='event', | ||
name='event_mode', | ||
field=models.CharField(choices=[('in_person', 'In Person'), ('online', 'Online')], default='in_person', max_length=20), | ||
), | ||
migrations.AlterField( | ||
model_name='eventregistration', | ||
name='gender', | ||
field=models.CharField(choices=[('male', 'Male'), ('female', 'Female'), ('other', 'Other')], max_length=15), | ||
), | ||
migrations.AlterField( | ||
model_name='eventregistration', | ||
name='professional_status', | ||
field=models.CharField(choices=[('working_professional', 'Working Professional'), ('student', 'Student'), ('freelancer', 'Freelancer'), ('other', 'Other')], default='other', max_length=100), | ||
), | ||
migrations.AlterField( | ||
model_name='sponsor', | ||
name='type', | ||
field=models.CharField(choices=[('individual', 'Individual'), ('organization', 'Organization')], max_length=20), | ||
), | ||
migrations.AlterField( | ||
model_name='sponsorship', | ||
name='tier', | ||
field=models.CharField(choices=[('platinum', 'Platinum'), ('gold', 'Gold'), ('silver', 'Silver'), ('venue_sponsors', 'Venue Sponsors'), ('food_sponsors', 'Food Sponsors'), ('schwag_sponsors', 'Schwag Sponsors'), ('grant', 'Grant'), ('individual', 'Individual'), ('organization', 'Organization')], max_length=20), | ||
), | ||
migrations.AlterField( | ||
model_name='sponsorship', | ||
name='type', | ||
field=models.CharField(choices=[('community_sponsorship', 'Community Sponsorship'), ('event_sponsorship', 'Event Sponsorship')], max_length=30), | ||
), | ||
] |
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