Skip to content
Snippets Groups Projects
Commit ce83913c authored by Jan Mach's avatar Jan Mach
Browse files

Refactoring: Renamed HawatFileIdView to FileIdView.

The original name was unnecessarily long. (Redmine issue: #3443)
parent 8fe2cee5
No related branches found
No related tags found
No related merge requests found
......@@ -29,7 +29,7 @@ Module contents
* :py:class:`BaseView`
* :py:class:`FileNameView`
* :py:class:`HawatFileIdView`
* :py:class:`FileIdView`
* :py:class:`HawatRenderableView`
* :py:class:`HawatSimpleView`
......@@ -932,7 +932,7 @@ class FileNameView(BaseView):
)
class HawatFileIdView(BaseView):
class FileIdView(BaseView):
"""
Base class for indirrect file access views. These views can be used to access
and serve files from arbitrary filesystem directories (that are accessible to
......
......@@ -43,7 +43,7 @@ from mentat.const import tr_
import hawat.menu
import hawat.acl
from hawat.base import HTMLMixin, SQLAlchemyMixin, HawatSearchView,\
HawatItemShowView, HawatItemDeleteView, HawatFileIdView, HawatBlueprint,\
HawatItemShowView, HawatItemDeleteView, FileIdView, HawatBlueprint,\
URLParamsBuilder
from hawat.blueprints.reports.forms import EventReportSearchForm, ReportingDashboardForm
......@@ -353,7 +353,7 @@ class UnauthShowView(ShowView): # pylint: disable=locally-disabled,too-many-anc
return self.dbmodel.label
class DataView(HawatFileIdView):
class DataView(FileIdView):
"""
View responsible for providing access to report data.
"""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment