create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
| from flask import make_response | |
| from reportlab.pdfgen import canvas | |
| # ... | |
| @app.route('/pdf') | |
| def pdf(): | |
| import cStringIO | |
| output = cStringIO.StringIO() |
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
| ''' | |
| given a Model with: | |
| category = models.CharField(max_length=32, choices=CATEGORY_CHOICES) | |
| pubdate = models.DateTimeField(default=datetime.now) | |
| <other fields> | |
| Fetch the item from each category with the latest pubdate. | |
| ''' |