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): |
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
""" | |
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): |
fab deploy |
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
git clone git@github.com:ateoto/notes.git |
"Description": "Enable this sg to allow CircleCI SSH Access", | |
"IpPermissions": [ | |
{ | |
"ToPort": 22, | |
"IpProtocol": "tcp", | |
"IpRanges": [ | |
{ | |
"CidrIp": "72.44.32.0/19" | |
}, | |
{ |
input { | |
syslog { | |
port => 5140 | |
type => "docker" | |
} | |
} | |
output { | |
stdout { | |
codec => rubydebug |
--- | |
- hosts: all | |
tasks: | |
- name: Determining database status | |
shell: "docker inspect --format '{% raw %}{{ .State.Running }}{% endraw %}' mongodb" | |
register: db_up | |
- debug: var=db_up |
type Tag struct { | |
Major int | |
Minor int | |
Name string | |
} | |
type Tags []Tag | |
func (slice Tags) Len() int { | |
return len(slice) |