Skip to content

Commit

Permalink
Fix seeding for prod
Browse files Browse the repository at this point in the history
  • Loading branch information
Suryansh5545 committed Aug 13, 2023
1 parent c63e64d commit 21160bb
Show file tree
Hide file tree
Showing 17 changed files with 8 additions and 8 deletions.
Binary file added example/logo/1-725x1024.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed example/logo/1-725x1024.png
Binary file not shown.
Binary file added example/logo/2-725x1024.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed example/logo/2-725x1024.png
Binary file not shown.
Binary file added example/logo/3-725x1024.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed example/logo/3-725x1024.png
Binary file not shown.
Binary file added example/logo/4-725x1024.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed example/logo/4-725x1024.png
Binary file not shown.
Binary file added example/logo/5-725x1024.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed example/logo/5-725x1024.png
Binary file not shown.
Binary file added example/logo/6-725x1024.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed example/logo/6-725x1024.png
Binary file not shown.
Binary file added example/logo/7-768x1085.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed example/logo/7-768x1085.png
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed example/logo/sabrang-cover-text-e1664621537950.png
Binary file not shown.
16 changes: 8 additions & 8 deletions scripts/seed.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def create_event():
description="Sabrang is the flagship annual festival of J K Lakshmipat University, Jaipur (JKLU). Since 2011, Sabrang has been celebrated annually, with the objective to provide students from different colleges and universities an opportunity to display their talents.",
start_date="2023-09-26",
end_date="2023-09-29",
image= ContentFile(get_file_content("example/logo/sabrang-cover-text-e1664621537950.png", "rb"), "logo.png"),
image= ContentFile(get_file_content("example/logo/sabrang-cover-text-e1664621537950.jpg", "rb"), "logo.jpg"),
location="JKLU, Jaipur",
price=300.00,
sub_events_included_allowed=3,
Expand All @@ -81,7 +81,7 @@ def create_sub_event(event):
description="This is a sub event of Sabrang",
start_date="2023-09-26",
end_date="2020-09-29",
image= ContentFile(get_file_content("example/logo/3-725x1024.png", "rb"), "logo.png"),
image= ContentFile(get_file_content("example/logo/3-725x1024.jpg", "rb"), "logo1.jpg"),
price=100.00,
event=event,
is_active=True,
Expand All @@ -91,7 +91,7 @@ def create_sub_event(event):
description="This is a sub event of Sabrang",
start_date="2023-09-26",
end_date="2020-09-29",
image= ContentFile(get_file_content("example/logo/4-725x1024.png", "rb"), "logo.png"),
image= ContentFile(get_file_content("example/logo/4-725x1024.jpg", "rb"), "logo2.jpg"),
price=100.00,
event=event,
is_active=True,
Expand All @@ -101,7 +101,7 @@ def create_sub_event(event):
description="This is a sub event of Sabrang",
start_date="2023-09-26",
end_date="2020-09-29",
image= ContentFile(get_file_content("example/logo/1-725x1024.png", "rb"), "logo.png"),
image= ContentFile(get_file_content("example/logo/1-725x1024.jpg", "rb"), "logo3.jpg"),
price=100.00,
event=event,
is_active=True,
Expand All @@ -111,7 +111,7 @@ def create_sub_event(event):
description="This is a sub event of Sabrang",
start_date="2023-09-26",
end_date="2020-09-29",
image= ContentFile(get_file_content("example/logo/6-725x1024.png", "rb"), "logo.png"),
image= ContentFile(get_file_content("example/logo/6-725x1024.jpg", "rb"), "logo4.jpg"),
price=100.00,
event=event,
is_active=True,
Expand All @@ -121,7 +121,7 @@ def create_sub_event(event):
description="This is a sub event of Sabrang",
start_date="2023-09-26",
end_date="2020-09-29",
image= ContentFile(get_file_content("example/logo/5-725x1024.png", "rb"), "logo.png"),
image= ContentFile(get_file_content("example/logo/5-725x1024.jpg", "rb"), "logo5.jpg"),
price=100.00,
event=event,
is_active=True,
Expand All @@ -131,7 +131,7 @@ def create_sub_event(event):
description="This is a sub event of Sabrang",
start_date="2023-09-26",
end_date="2020-09-29",
image= ContentFile(get_file_content("example/logo/2-725x1024.png", "rb"), "logo.png"),
image= ContentFile(get_file_content("example/logo/2-725x1024.jpg", "rb"), "logo6.jpg"),
price=100.00,
event=event,
is_active=True,
Expand All @@ -141,7 +141,7 @@ def create_sub_event(event):
description="This is a sub event of Sabrang",
start_date="2023-09-26",
end_date="2020-09-29",
image= ContentFile(get_file_content("example/logo/7-768x1085.png", "rb"), "logo.png"),
image= ContentFile(get_file_content("example/logo/7-768x1085.jpg", "rb"), "logo7.jpg"),
price=100.00,
event=event,
is_active=True,
Expand Down

0 comments on commit 21160bb

Please sign in to comment.