mirror of
https://github.com/correl/codereview.git
synced 2024-11-24 03:00:07 +00:00
10 lines
306 B
Python
10 lines
306 B
Python
|
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})
|