fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
some css tweaks regarding colors
[wolnelektury.git]
/
apps
/
infopages
/
views.py
diff --git
a/apps/infopages/views.py
b/apps/infopages/views.py
index
d457653
..
e1e7451
100644
(file)
--- a/
apps/infopages/views.py
+++ b/
apps/infopages/views.py
@@
-9,8
+9,6
@@
from infopages.models import InfoPage
def infopage(request, slug):
- page = InfoPage.objects.get(slug=slug)
-
page = get_object_or_404(InfoPage, slug=slug)
rc = RequestContext(request)
left_column = Template(page.left_column).render(rc)