Skip to content

Conversation

@sayanchowdhury
Copy link
Member

This PR adds the feature to update the proposal with the video URL. The
video URL will be containing 1-2 min video about the talk from the speaker.

This would help to promote the talk as well as judging better on how the speaker
is.

@coveralls
Copy link

coveralls commented May 2, 2020

Coverage Status

Coverage increased (+0.05%) to 67.308% when pulling 2f954ab on sayanchowdhury:update-video-url into 5d88e07 on pythonindia:master.

@palnabarun
Copy link
Member

Note: nit: The meta commit needs to go be removed from this branch.

@sayanchowdhury sayanchowdhury force-pushed the update-video-url branch 6 times, most recently from 3549615 to 8ba3d01 Compare May 2, 2020 12:10
This commit adds the feature to update the proposal with the video URL. The
video URL will be containing 1-2 min video about the talk from the speaker.

This would help to promote the talk as well as judging better on how the speaker
is.

Signed-off-by: Sayan Chowdhury <sayan.chowdhury2012@gmail.com>
Copy link
Member

@palnabarun palnabarun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you test the changes by running Junction locally?

Comment on lines +8 to +33
class Migration(migrations.Migration):

dependencies = [
("proposals", "0026_auto_20200323_2010"),
]

operations = [
migrations.AddField(
model_name="historicalproposal",
name="video_url",
field=models.URLField(
blank=True,
default="",
help_text="A short 1-2 mins video link about your talk",
),
),
migrations.AddField(
model_name="proposal",
name="video_url",
field=models.URLField(
blank=True,
default="",
help_text="A short 1-2 mins video link about your talk",
),
),
]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just trying to understand why there are two migrations?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, these changes are tested. The historical data is added from django-simple-history which I guess provides kind of an audit log.

image

@palnabarun palnabarun self-requested a review May 2, 2020 12:42
@sayanchowdhury sayanchowdhury merged commit db766c2 into pythonindia:master May 2, 2020
@sayanchowdhury sayanchowdhury deleted the update-video-url branch May 2, 2020 12:42
palnabarun added a commit to palnabarun/junction that referenced this pull request Jun 17, 2020
Related to pythonindia#668

Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
palnabarun added a commit that referenced this pull request Jun 17, 2020
Related to #668

Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants