TNL-1898 Also adds a generic paginated list view and Teams list view. The common PaginatedView takes a collection and a view class for its items and creates a header and footer with correct pagination. The topics list view is refactored to use this generic view. Authors: - Peter Fogg <pfogg@edx.org> - Daniel Friedman <dfriedman58@gmail.com>
12 lines
316 B
Python
12 lines
316 B
Python
"""Defines the URL routes for this app."""
|
|
|
|
from django.conf.urls import patterns, url
|
|
from django.contrib.auth.decorators import login_required
|
|
|
|
from .views import TeamsDashboardView
|
|
|
|
urlpatterns = patterns(
|
|
'teams.views',
|
|
url(r"^/$", login_required(TeamsDashboardView.as_view()), name="teams_dashboard")
|
|
)
|