Commit 1b5776226a5d083c095a7252069ec938916c46c6

Authored by Sergio Oliveira
1 parent c1ddade6

Renamed index to dashboard

Showing 2 changed files with 4 additions and 4 deletions   Show diff stats
colab/home/views.py
... ... @@ -13,8 +13,8 @@ from colab.search.utils import trans
13 13 from colab.super_archives.models import Thread
14 14  
15 15  
16   -def index(request):
17   - """Index page view"""
  16 +def dashboard(request):
  17 + """Dashboard page"""
18 18  
19 19  
20 20 latest_threads = Thread.objects.all()[:6]
... ...
colab/urls.py
... ... @@ -13,7 +13,7 @@ admin.autodiscover()
13 13  
14 14 urlpatterns = patterns('',
15 15 url(r'^robots.txt$', 'colab.home.views.robots', name='robots'),
16   - url(r'^dashboard$', 'colab.home.views.index', name='dashboard'),
  16 + url(r'^dashboard$', 'colab.home.views.dashboard', name='dashboard'),
17 17 url(r'^$', RedirectView.as_view(url=settings.COLAB_HOME_URL), name='home'),
18 18  
19 19 url(r'^open-data/$', TemplateView.as_view(template_name='open-data.html'),
... ... @@ -46,4 +46,4 @@ if settings.DEBUG:
46 46 urlpatterns += static.static(
47 47 settings.MEDIA_URL,
48 48 document_root=settings.MEDIA_ROOT
49   - )
50 49 \ No newline at end of file
  50 + )
... ...