Merge branch 'master' of github.com:okfn/ckanext-harvest

This commit is contained in:
David Read 2012-06-15 18:38:33 +01:00
commit 5df2b64dda
2 changed files with 6 additions and 5 deletions

View File

@ -36,9 +36,7 @@ Run the following command to create the necessary tables in the database::
paster --plugin=ckanext-harvest harvester initdb --config=mysite.ini
The extension needs a user with sysadmin privileges to perform the
harvesting jobs. You can create such a user running these two commands::
paster --plugin=ckan user add harvest
harvesting jobs. You can create such a user running this command::
paster --plugin=ckan sysadmin add harvest

View File

@ -3,12 +3,15 @@ import datetime
from sqlalchemy import event
from sqlalchemy import distinct
from sqlalchemy import Table
from sqlalchemy import Column
from sqlalchemy import ForeignKey
from sqlalchemy import types
from sqlalchemy.engine.reflection import Inspector
from sqlalchemy.orm import backref, relation
from ckan import model
from ckan.model.meta import (metadata, mapper, Session,
Table, Column, ForeignKey, types)
from ckan.model.meta import metadata, mapper, Session
from ckan.model.types import make_uuid
from ckan.model.domain_object import DomainObject
from ckan.model.package import Package