Source

fat-po-editor / fat / fat_po_editor / views / __init__.py

Full commit
# -*- coding: utf-8 -*-

from django.shortcuts import render_to_response
from django.template import RequestContext
from fat_po_editor import bl

def index(request):
    repositories = bl.repository.get_all()
    return (
        render_to_response(
            'fat_po_editor/index.html', {
                'repositories': repositories,
                },
            context_instance=RequestContext(request)))