Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New timetable load #215

Open
wants to merge 12 commits into
base: master
Choose a base branch
from
Open

New timetable load #215

wants to merge 12 commits into from

Conversation

MaliRobot
Copy link
Collaborator

SO, this is far from finished, but timetable table needs some love. I will also need to implement buttons to show hide days, because by default all of them are shown :)

It would be great to make event titles more visible and table as whole more beautiful and similar in style as the rest of the website. I will add buttons and functionality to show/hide events tonight.

pyconbalkan/speaker/templates/speaker.html Show resolved Hide resolved
ALL_DATA_URL = "https://sessionize.com/api/v2/fwv5aino/view/All"


class Command(BaseCommand):
help = 'Closes the specified poll for voting'

# this should be synced with timetable model somehow, not hardcoded
PRESENTATION_TYPE = {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Please Import from pyconbalkan/timetable/models.py:16 instead of redeclaring

@@ -30,6 +36,11 @@ class Presentation(AbstractConference, ActiveModel):
def slugify(self):
return slugify(self.title)

@property
Copy link
Collaborator

Choose a reason for hiding this comment

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

no, this method should be on the speaker model, not here !

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

but you need it as well here, check how url is formed: /speaker/alex-plugaru/#talk-scaling-flask-and-celery
I mean I don't know if we want to use it, but it's here for different purpose.

Copy link
Collaborator

Choose a reason for hiding this comment

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

so what blocks you from saying session.speaker.slugify, why do you need to call session.slugify_speaker?

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.

None yet

2 participants