mep/people/views.py
changed.
Showing 1 of 1 files from the diff.
@@ -3,7 +3,8 @@
Loading
3 | 3 | from dal import autocomplete |
|
4 | 4 | from django.conf import settings |
|
5 | 5 | from django.contrib import messages |
|
6 | - | from django.contrib.auth.mixins import PermissionRequiredMixin |
|
6 | + | from django.contrib.auth.mixins import LoginRequiredMixin, \ |
|
7 | + | PermissionRequiredMixin |
|
7 | 8 | from django.contrib.humanize.templatetags.humanize import ordinal |
|
8 | 9 | from django.core.exceptions import MultipleObjectsReturned |
|
9 | 10 | from django.core.paginator import Paginator |
@@ -22,9 +23,8 @@
Loading
22 | 23 | from mep.accounts.templatetags.account_tags import as_ranges |
|
23 | 24 | from mep.common import SCHEMA_ORG |
|
24 | 25 | from mep.common.utils import absolutize_url, alpha_pagelabels |
|
25 | - | from mep.common.views import (AjaxTemplateMixin, FacetJSONMixin, |
|
26 | - | LabeledPagesMixin, SolrLastModifiedMixin, |
|
27 | - | LoginRequiredOr404Mixin, RdfViewMixin) |
|
26 | + | from mep.common.views import AjaxTemplateMixin, FacetJSONMixin, \ |
|
27 | + | LabeledPagesMixin, RdfViewMixin, SolrLastModifiedMixin |
|
28 | 28 | from mep.people.forms import MemberSearchForm, PersonMergeForm |
|
29 | 29 | from mep.people.geonames import GeoNamesAPI |
|
30 | 30 | from mep.people.models import Country, Location, Person |
@@ -628,7 +628,7 @@
Loading
628 | 628 | return context |
|
629 | 629 | ||
630 | 630 | ||
631 | - | class MembershipGraphs(LoginRequiredOr404Mixin, TemplateView): |
|
631 | + | class MembershipGraphs(LoginRequiredMixin, TemplateView): |
|
632 | 632 | model = Person |
|
633 | 633 | template_name = 'people/member_graphs.html' |
|
634 | 634 |
Files | Coverage |
---|---|
mep | 98.44% |
srcmedia/ts | 86.55% |
Project Totals (223 files) | 98.01% |
2466.1
TRAVIS_PYTHON_VERSION=3.5 TRAVIS_OS_NAME=linux
Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file.
The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files.
The size and color of each slice is representing the number of statements and the coverage, respectively.