From 8db8977910e128830c917bd9964a56e56ca56588 Mon Sep 17 00:00:00 2001 From: Martin Mahner Date: Wed, 5 Jun 2013 19:40:41 +0200 Subject: [PATCH] Create a Github gist from a snippet. I'm not yet sure how useful it is, since its creates Gists in a anomymous space and not under your account, but if you want to save Snippets permanently, thats the way to go. --- dpaste/templates/dpaste/snippet_details.html | 2 + dpaste/urls/dpaste.py | 1 + dpaste/views.py | 41 +++++++++++++++++--- requirements.txt | 1 + 4 files changed, 40 insertions(+), 5 deletions(-) diff --git a/dpaste/templates/dpaste/snippet_details.html b/dpaste/templates/dpaste/snippet_details.html index b2ce35a..8f7568c 100644 --- a/dpaste/templates/dpaste/snippet_details.html +++ b/dpaste/templates/dpaste/snippet_details.html @@ -56,6 +56,8 @@ {% trans "Compare Snippets" %} {% endif %} {% trans "View Raw" %} + {% trans "Gist" %}