Skip to content

Commit

Permalink
Update readme & version
Browse files Browse the repository at this point in the history
  • Loading branch information
bhavin2897 committed Nov 29, 2023
1 parent 48405c1 commit 340bf5e
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 3 deletions.
16 changes: 15 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,15 @@ In [Chemtion Repository](https://www.chemotion-repository.net) they relationship

To provide these corrresponding smaple links to the HOME repository, we use this plugin in CKAN, to display hyperlink of the dataset.

### Database Models
In this Plugin Extension, you will also find database models for interacting by decalring models through SQLAlchemy model
registration.

This plugin provides model classmethods for :
1. create row entry
2. get related values by package ID
3. get alternate names by package ID
****

## Requirements

Expand Down Expand Up @@ -59,7 +68,12 @@ To upgrade ckan database, for the tables you have created:

You will get a message `Upgrading DB: SUCCESS`.

Later, check the database list of tables for the ckan user to see the table for the migrated/generated table.
Later, check the database list of tables for the ckan user to see the table for the migrated/generated table.

To Use the database Model in external plugins, import it as one module

``from ckanext.related_resources.models.related_resources import RelatedResources ``

## Config settings

None at present
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
# Versions should comply with PEP440. For a discussion on single-sourcing
# the version across setup.py and the project code, see
# http://packaging.python.org/en/latest/tutorial.html#version
version='0.0.1',
version='0.2.0',

description='''An extension for other related resources to be displayed on the dataset table and also extend the table''',
long_description=long_description,
Expand All @@ -26,7 +26,7 @@
url='https://github.com/bhavin/ckanext-related_resources',

# Author details
author='''Bhavin''',
author='''Bhavin Katabathuni''',
author_email='''[email protected]''',

# Choose your license
Expand Down

0 comments on commit 340bf5e

Please sign in to comment.