I hereby claim:
- I am fernandogrd on github.
- I am fernandogrd (https://keybase.io/fernandogrd) on keybase.
- I have a public key whose fingerprint is 71A7 850D 30AD F88B 1DC5 EB31 CD08 8D46 C45E A20D
To claim this, I am signing this object:
import numpy as np | |
from pylab import * | |
x = np.arange(0,100,10) | |
y = 2 * x | |
plot(x,sin(x),x, cos(y)) | |
show() |
import sys | |
import json | |
from xml.dom import minidom | |
config = { | |
'js_var' : 'map', | |
} |
# Add this as a custom deploy script on Codeship, and make sure it is after Heroku Deployment | |
heroku_run './manage.py syncdb' name-of-heroku-app | |
heroku_run './manage.py migrate' name-of-heroku-app |
I hereby claim:
To claim this, I am signing this object:
class FooMixin(object): | |
def filter_users(self, qs): | |
return qs.filter(x=y) | |
class FooView(View, FooMixin): | |
def get_queryset(self): | |
qs = super(FooView, self).get_queryset() | |
qs = self.filter_users(qs) | |
return qs |