-
Notifications
You must be signed in to change notification settings - Fork 17
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
base: master
Are you sure you want to change the base?
New timetable load #215
Conversation
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 = { |
There was a problem hiding this comment.
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
pyconbalkan/timetable/models.py
Outdated
@@ -30,6 +36,11 @@ class Presentation(AbstractConference, ActiveModel): | |||
def slugify(self): | |||
return slugify(self.title) | |||
|
|||
@property |
There was a problem hiding this comment.
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 !
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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?
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.