I hereby claim:
- I am ateoto on github.
- I am mattmccants (https://keybase.io/mattmccants) on keybase.
- I have a public key whose fingerprint is 4BCF 6A95 25E8 0D4E 5168 305F C492 9F05 EE35 5602
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
fab deploy |
""" | |
https://github.com/chrisglass/django_polymorphic | |
https://django-polymorphic.readthedocs.org/en/latest/ | |
Try this out. | |
""" | |
class Ingredient(PolymorphicModel): | |
name = models.CharField(max_length=75) | |
class SimpleIngredient(Ingredient): |
This will be deprecated but it is a start.
Should be able to adapt this to what I need for django 1.7
http://stackoverflow.com/questions/3841725/how-to-launch-tests-for-django-reusable-app
from django import forms | |
from django_summernote.widgets import SummernoteWidget | |
from crispy_forms.helper import FormHelper | |
from crispy_forms.layout import Submit | |
from words.models import Entry | |
class EntryForm(forms.ModelForm): |
upstream django { | |
server localhost:8000; | |
} | |
server { | |
listen 80; | |
server_name ateoto.com; | |
location / { | |
proxy_pass http://django; |
http://knockoutjs.com/ | |
http://kmalakoff.github.com/knockback/ |
For a ~16oz Chemex Cup | |
18oz H20 | |
21g Coffee |
import random | |
import re | |
def roll(what_roll): | |
""" | |
d20 | |
d6+2 | |
2d6 | |
4d6+4 | |
""" |
class Animation(object): | |
def __init__(self, texture, | |
class AnimatedSprite(sf.Sprite): | |
def draw(self, target, states): | |
target.draw(self.texture) |