Mercurial > agora
comparison apps/bundle/views.py @ 167:d31b236ed5cf
Okay, I think I caught all the with statements now...
author | Jordi Gutiérrez Hermoso <jordigh@octave.org> |
---|---|
date | Wed, 17 Oct 2012 10:33:03 -0400 |
parents | c7be7def8b57 |
children | 3be23e2e8fe7 |
comparison
equal
deleted
inserted
replaced
166:a05e547449de | 167:d31b236ed5cf |
---|---|
1 from __future__ import with_statement | |
2 | |
1 import os | 3 import os |
2 | 4 |
3 from django.shortcuts import get_object_or_404, render, redirect | 5 from django.shortcuts import get_object_or_404, render, redirect |
4 from django.contrib.auth.decorators import login_required | 6 from django.contrib.auth.decorators import login_required |
5 from django.http import HttpResponse | 7 from django.http import HttpResponse |