mirror of
https://github.com/correl/codereview.git
synced 2024-11-27 11:09:50 +00:00
9 lines
306 B
Python
Executable file
9 lines
306 B
Python
Executable file
from django.shortcuts import render_to_response
|
|
from codereview.dashboard.models import Repository
|
|
|
|
def index(request):
|
|
""" List available repositories
|
|
"""
|
|
repositories = Repository.objects.all()
|
|
return render_to_response('dashboard/index.html',
|
|
{'repositories': repositories})
|