Skip to content

Commit

Permalink
Updated django skels.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gustaf Sjöberg committed Nov 5, 2013
1 parent b6ed9c7 commit 3ff9c0f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .vim/skeletons/html/base.django
Expand Up @@ -4,11 +4,11 @@
<head>
<meta charset="utf-8">
<title>{% block title %}{% endblock %}</title>
<link rel="stylesheet" href="{{ MEDIA_URL }}static/style/master.css" type="text/css" media="screen">
<!-- <link rel="shortcut icon" href="{{ MEDIA_URL }}static/images/misc/favicon.ico"> -->
<link rel="stylesheet" href="{{ STATIC_URL }}style/master.css" type="text/css" media="screen">
<!-- <link rel="shortcut icon" href="{{ STATIC_URL }}images/misc/favicon.ico"> -->
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<!-- <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.20/jquery-ui.min.js"></script> -->
<script type="text/javascript" src="{{ MEDIA_URL }}static/script/behaviour.js"></script>
<!-- <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.18/jquery-ui.min.js"></script> -->
<script type="text/javascript" src="{{ STATIC_URL }}script/behaviour.js"></script>
{% block script %}{% endblock %}
</head>

Expand Down
2 changes: 1 addition & 1 deletion .vim/skeletons/python/django_view.py
Expand Up @@ -2,7 +2,7 @@
from django.contrib.auth.decorators import login_required
from django.core.urlresolvers import reverse
from django.shortcuts import get_object_or_404
from django.views.generic.simple import direct_to_template as render
from django.shortcuts import render

def view(request):
return render(request, 'template.html', {
Expand Down

0 comments on commit 3ff9c0f

Please sign in to comment.