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

drupal in a day workshop certificated generated #33

Merged
merged 2 commits into from
May 7, 2018

Conversation

binson-b
Copy link
Contributor

@binson-b binson-b commented May 7, 2018

No description provided.

@@ -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'
Copy link
Contributor

Choose a reason for hiding this comment

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

Please remove commented code.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

@@ -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')
Copy link
Contributor

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.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

@@ -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')
Copy link
Contributor

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

@ankitjavalkar
Copy link
Contributor

Looks good

@prathamesh920
Copy link
Contributor

Merging for now

@prathamesh920 prathamesh920 merged commit 81dea9a into FOSSEE:scipy2016 May 7, 2018
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