What is this thing supposed to do/fix/add? Is that tied to a company goal?
What is this required to do programatically?
- Something it must do
- and related something
git config --global github.password |
{% block content %} | |
<div class="overview_layout"> | |
<div class="side"> | |
{% include "includes/searchbox.html" %} | |
{% include "includes/facebook_like_box.html" %} | |
{% include "includes/twitter_subscribe_right.html" %} | |
{# TODO: Handle margin issue in CSS #} | |
<div style="height: 10px; padding: 0; margin: 0; "></div> | |
{% include "includes/right_sidebar_ads.html" %} | |
{% include "articles/recommendation/related_articles.html" %} |
def article_social_history(request, slug, section_slug): | |
article = DDArticle.published_objects.get(primary_section__slug=section_slug, slug=slug) | |
h = article.get_social_history() | |
history = [] | |
for record in h: | |
for k, v in record.items(): | |
if hasattr(v, 'isoformat'): | |
record[k] = v.isoformat() | |
history.append(record) |
def get_social_history(self): | |
return self.social_histories.values() |
/* | |
*/ | |
/* A namespaced javascript snippet */ | |
var fg = fg || {}; | |
fg.r = fg.r || {}; | |
fg.r.component = fg.r.component || {}; | |
dailydot.article.less:.article-content BLOCKQUOTE.pullquote { width:90%; margin:40px auto 30px; border:none; padding:none; position: relative; font:24px/29px @serifFontFamily;} | |
dailydot.article.less:.article-content BLOCKQUOTE.pullquote P { text-align: left; z-index:2; text-indent:0; font:inherit; position: relative; } | |
dailydot.article.less:.article-content BLOCKQUOTE.pullquote:before, | |
dailydot.article.less:.article-content BLOCKQUOTE.pullquote:after { font-size:136px; color:#ddd; position:absolute; z-index:1; display:block; } | |
dailydot.article.less:.article-content BLOCKQUOTE.pullquote::before { content:'\201C'; top:34px; left: -15px; } | |
dailydot.article.less:.article-content BLOCKQUOTE.pullquote SPAN.quoter { font-size:16px; display:block; width:100%; text-align:right; } | |
dailydot.article.less:.article-content BLOCKQUOTE.pullquote SPAN.quoter:before { content:'\2014 '; text-align: right; width:100%; } |
~DD(branch:5.10.2013) » ./manage.py createinitialrevisions groberts@kesey | |
Version 2.0.14 of praw is outdated. Version 2.1.1 was released Wednesday May 01, 2013. | |
/home/groberts/env/local/lib/python2.7/site-packages/django/conf/urls/defaults.py:3: PendingDeprecationWarning: django.conf.urls.defaults is deprecated; use django.conf.urls instead | |
PendingDeprecationWarning) | |
Model permission is not registered. | |
Model group is not registered. | |
Model user is not registered. | |
Model content type is not registered. | |
Model session is not registered. | |
Model site is not registered. |
{# Meta items within this block are dynamic. Things like facebook app_id which persist across all pages are found in base.html #} | |
{% if article_detail.title %} | |
{# This is a single article #} | |
<title>The Daily Dot - {{ article_detail.title }}</title> | |
<link rel="canonical" href="http://www.dailydot.com{{ article_detail.get_absolute_url }}"> | |
<link rel="shortlink" href="{{ article_detail.get_short_link }}"> | |
<meta name="keywords" content="{{ article_detail.get_keywords }}"> | |
<meta property="og:url" content="http://www.dailydot.com{{ article_detail.get_absolute_url }}"> | |
{# since we load media urls with a relative protocol, the proto must be included #} |
from django import template | |
from django.template.base import TemplateSyntaxError | |
from django.template.loader import render_to_string | |
register = template.Library() | |
class SatisfactionNode(template.Node): | |
def __init__(self, from_object, option): | |
self.from_object = template.Variable(from_object) | |
self.option = template.Variable(option) |