Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
ckanext-odsh
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Transparenzportal
ckanext-odsh
Commits
97b752f7
Commit
97b752f7
authored
5 years ago
by
Benjamin Becker
Browse files
Options
Downloads
Patches
Plain Diff
adds plugin tpsh_collections
parent
664e2d3a
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
ckanext/odsh/plugin.py
+15
-0
15 additions, 0 deletions
ckanext/odsh/plugin.py
setup.py
+1
-0
1 addition, 0 deletions
setup.py
with
16 additions
and
0 deletions
ckanext/odsh/plugin.py
+
15
−
0
View file @
97b752f7
...
...
@@ -619,3 +619,18 @@ class OdshPlugin(plugins.SingletonPlugin, DefaultTranslation, DefaultDatasetForm
date
=
None
return
date
class
TpshCollectionsPlugin
(
plugins
.
SingletonPlugin
,
DefaultTranslation
,
DefaultDatasetForm
):
plugins
.
implements
(
plugins
.
ITranslation
,
inherit
=
True
)
plugins
.
implements
(
plugins
.
IDatasetForm
,
inherit
=
True
)
def
package_types
(
self
):
return
(
'
collection
'
,
)
def
is_fallback
(
self
):
return
False
This diff is collapsed.
Click to expand it.
setup.py
+
1
−
0
View file @
97b752f7
...
...
@@ -87,6 +87,7 @@ setup(
odsh_autocomplete=ckanext.odsh.plugin:OdshAutocompletePlugin
odsh_harvest=ckanext.odsh.plugin:OdshHarvestPlugin
odsh_dcat_harvest=ckanext.odsh.plugin:OdshDCATHarvestPlugin
tpsh_collections=ckanext.odsh.plugin:TpshCollectionsPlugin
[paste.paster_command]
odsh_initialization = ckanext.odsh.commands.initialization:Initialization
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment