Skip to content

Commit

Permalink
fix: Use correct settings import
Browse files Browse the repository at this point in the history
  • Loading branch information
jpmckinney committed Apr 20, 2024
1 parent d2ffec2 commit e9a7f1d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions docs/cli.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@ Load data into a collection, asynchronously.
./manage.py load [OPTIONS] PATH [PATH ...]
-s SOURCE, --source SOURCE
the source from which the files were retrieved (please append '_local' if the data was not collected by Kingfisher Collect)
the source from which the files were retrieved (append '_local' if not sourced from Scrapy)
-t TIME, --time TIME the time at which the files were retrieved in 'YYYY-MM-DD HH:MM:SS' format (defaults to the earliest file modification time)
--sample whether the files represent a sample from the source
-n NOTE, --note NOTE add a note to the collection
-n NOTE, --note NOTE a note to add to the collection
-f, --force use the provided --source value, regardless of whether it is recognized
-u, --upgrade upgrade collection to latest version
-c, --compile compile collection
-e, --check check collection
-u, --upgrade upgrade the collection to the latest OCDS version
-c, --compile create compiled releases from the collection
-e, --check run structural checks on the collection
-k, --keep-open keep collection open for future file additions

addfiles
Expand Down
2 changes: 1 addition & 1 deletion process/views.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import logging

from django.conf import settings
from django.db import connection, transaction
from django.db.models.functions import Now
from django.http.response import Http404
Expand All @@ -9,7 +10,6 @@
from rest_framework.decorators import action
from rest_framework.response import Response

from core import settings
from process.models import Collection, CollectionNote
from process.processors.loader import create_collections
from process.util import create_note, get_publisher
Expand Down

0 comments on commit e9a7f1d

Please sign in to comment.