This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* jQuery Masonry v2.1.01 | |
* A dynamic layout plugin for jQuery | |
* The flip-side of CSS Floats | |
* http://masonry.desandro.com | |
* | |
* Licensed under the MIT license. | |
* Copyright 2011 David DeSandro | |
*/ | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from django.conf import settings | |
from django.http import HttpResponsePermanentRedirect | |
SSL = 'SSL' | |
class SSLRedirect(object): | |
"""SSL Middleware for views | |
Example usage: | |
`url(r'^my-secure-view/$', 'secure_view', {'SSL' : True}, name='my_secure_view'),` | |
""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* jQuery Masonry v2.1.0 | |
* A dynamic layout plugin for jQuery | |
* The flip-side of CSS Floats | |
* http://masonry.desandro.com | |
* | |
* Licensed under the MIT license. | |
* Copyright 2011 David DeSandro | |
*/ | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
valueMatches : function(facet, searchTerm, callback) { | |
if('results' in facets.raw[facet]){ | |
callback(facets.raw[facet].results); | |
} else{ | |
var app_label = facets.raw[facet].app_label, | |
model = facet; | |
// TODO: don't pound the server | |
$.getJSON("/admin/" + app_label + "/" + model + "/search/", {q: searchTerm}, function(data) { | |
facets.raw[facet].results = data.results; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Traceback (most recent call last): | |
File "/home/stuart/armstrong/dev/bin/armstrong", line 8, in <module> | |
load_entry_point('armstrong.cli==1.0.1', 'console_scripts', 'armstrong')() | |
File "/home/stuart/armstrong/dev/lib/python2.6/site-packages/armstrong/cli/main.py", line 91, in main | |
func(argv=argv, **kwargs) | |
File "/home/stuart/armstrong/dev/lib/python2.6/site-packages/armstrong/cli/main.py", line 113, in call_django | |
execute_manager(settings, argv=new_argv) | |
File "/home/stuart/armstrong/dev/lib/python2.6/site-packages/django/core/management/__init__.py", line 438, in execute_manager | |
utility.execute() | |
File "/home/stuart/armstrong/dev/lib/python2.6/site-packages/django/core/management/__init__.py", line 379, in execute |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Content(ContentBase): | |
headline = models.CharField((u'Homepage headline'), max_length=255, blank=True, null=True) | |
placement_category = models.ForeignKey(Category, blank=True, null=True) | |
published_objects = PublishedManager() | |
class Meta: | |
verbose_name_plural = "Content" | |
ordering = ['-pub_date'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Jan 27 18:12:35 ip-10-0-0-232.ec2.internal sh[26477]: File "/usr/local/lib/python2.7/dist-packages/rest_framework/authentication.py", line 166, in authenticate | |
Jan 27 18:12:35 ip-10-0-0-232.ec2.internal sh[26477]: return self.authenticate_credentials(auth[1]) | |
Jan 27 18:12:35 ip-10-0-0-232.ec2.internal sh[26477]: File "/usr/local/lib/python2.7/dist-packages/rest_framework/authentication.py", line 170, in authenticate_credentials | |
Jan 27 18:12:35 ip-10-0-0-232.ec2.internal sh[26477]: token = self.model.objects.get(key=key) | |
Jan 27 18:12:35 ip-10-0-0-232.ec2.internal sh[26477]: File "/usr/local/lib/python2.7/dist-packages/django/db/models/manager.py", line 151, in get | |
Jan 27 18:12:35 ip-10-0-0-232.ec2.internal sh[26477]: return self.get_queryset().get(*args, **kwargs) | |
Jan 27 18:12:35 ip-10-0-0-232.ec2.internal sh[26477]: File "/usr/local/lib/python2.7/dist-packages/django/db/models/query.py", line 304, in get | |
Jan 27 18:12:35 ip-10-0-0-232.ec2.internal sh[26477]: num = len(clone) | |
Jan 27 18:12:35 ip-10-0-0-232.ec2.i |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Jan 15 19:39:22 ip-10-0-0-232.ec2.internal sh[26477]: INFO bubbly-greenery: build bubbly-greenery-41c2965 created | |
Jan 15 19:39:22 ip-10-0-0-232.ec2.internal sh[26477]: ERROR Internal Server Error: /v1/hooks/build | |
Jan 15 19:39:22 ip-10-0-0-232.ec2.internal sh[26477]: Traceback (most recent call last): | |
Jan 15 19:39:22 ip-10-0-0-232.ec2.internal sh[26477]: File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py", line 112, in get_response | |
Jan 15 19:39:22 ip-10-0-0-232.ec2.internal sh[26477]: response = wrapped_callback(request, *callback_args, **callback_kwargs) | |
Jan 15 19:39:22 ip-10-0-0-232.ec2.internal sh[26477]: File "/usr/local/lib/python2.7/dist-packages/django/views/decorators/csrf.py", line 57, in wrapped_view | |
Jan 15 19:39:22 ip-10-0-0-232.ec2.internal sh[26477]: return view_func(*args, **kwargs) | |
Jan 15 19:39:22 ip-10-0-0-232.ec2.internal sh[26477]: File "/usr/local/lib/python2.7/dist-packages/rest_framework/viewsets.py", line 79, in view | |
Jan 15 19:39:22 ip-10-0-0-232.ec2.internal sh[264 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Jan 06 21:38:50 ip-10-0-0-107.ec2.internal systemd[1]: Failed to set memory.limit_in_bytes on : Invalid argument | |
Jan 06 21:38:50 ip-10-0-0-107.ec2.internal systemd[1]: Failed to reset devices.list on /system.slice: Invalid argument |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"leader":"9277df3969c842f191bcca2f14042987","followers":{"159448515d01413c9afae528c7e47428":{"latency":{"current":4.150797,"average":5.575712509016761,"standardDeviation":12.541813836321984,"minimum":0.455292,"maximum":3436.803711},"counts":{"fail":47,"success":7633476}},"a9a7581279d74ebca43f04e6ed5090d3":{"latency":{"current":213.995085,"average":8.503553054788702,"standardDeviation":29.57186724009199,"minimum":0.430568,"maximum":3491.316527},"counts":{"fail":400,"success":7629748}}}} |
NewerOlder