-
-
Notifications
You must be signed in to change notification settings - Fork 31
add viewlet subtemplate #307
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
Conversation
| from datetime import datetime | ||
|
|
||
|
|
||
| CONFERENCE_START_DATE = datetime(2018, 11, 5) |
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.
you may use datetime.now() or datetime.now().date() instead of hardcoding a starting date
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.
I removed it in the latest commit check this
| return CONFERENCE_START_DATE | ||
|
|
||
| def get_message(self): | ||
| return u'Sample viewlet!" |
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.
Simple Viewlet or Viewlet Sample ;)
|
|
||
|
|
||
| class {{{ viewlet_python_class_name }}}(ViewletBase): | ||
|
|
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.
add update method with an empty doc string
c7f02a8 to
a192a79
Compare
a192a79 to
a9d9d8c
Compare
Fix changelog
a9d9d8c to
0d38b21
Compare
see #281