-
Notifications
You must be signed in to change notification settings - Fork 14
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
drupal in a day workshop certificated generated #33
Conversation
certificate/views.py
Outdated
@@ -2714,14 +2724,15 @@ def create_python_workshop_certificate(certificate_path, name, qrcode, type, pap | |||
else: | |||
template = '3day_template_PWS2017Pcertificate' | |||
|
|||
# ws_date = '10 March 2018' or 'March 2018' |
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 remove commented code.
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.
done
certificate/models.py
Outdated
@@ -172,6 +172,8 @@ class Drupal_WS(models.Model): | |||
name = models.CharField(max_length=200) | |||
email = models.EmailField() | |||
purpose = models.CharField(max_length=10, default='DRP') | |||
status = models.CharField(max_length=10, default='Participated') |
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.
status
can be a Boolean instead of char.
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.
done
certificate/models.py
Outdated
@@ -172,6 +172,8 @@ class Drupal_WS(models.Model): | |||
name = models.CharField(max_length=200) | |||
email = models.EmailField() | |||
purpose = models.CharField(max_length=10, default='DRP') | |||
status = models.CharField(max_length=10, default='Participated') | |||
ws_date = models.CharField(max_length=200, default='01 January 2016') |
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.
Instead of ws_date
can we have simply date
Also, it can be date field instead of char
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.
done
Looks good |
Merging for now |
No description provided.