Skip to content

Commit

Permalink
Merge pull request #293 from open-contracting/234-retrieval-frequency
Browse files Browse the repository at this point in the history
234 retrieval frequency
  • Loading branch information
yolile authored Aug 16, 2023
2 parents 21c9dda + a60a07a commit 0ff41f4
Show file tree
Hide file tree
Showing 17 changed files with 617 additions and 455 deletions.
7 changes: 4 additions & 3 deletions data_registry/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ def queryset(self, request, queryset):
| Q(language_en="")
| Q(description_en="")
| Q(source_url="")
| Q(update_frequency="")
| Q(retrieval_frequency="")
| Q(additional_data_en="")
)

Expand Down Expand Up @@ -185,7 +185,7 @@ class CollectionAdmin(TabbedDjangoJqueryTranslationAdmin):
(
_("Management"),
{
"fields": ("source_id", "active_job", "public", "frozen", "last_update"),
"fields": ("source_id", "active_job", "public", "frozen", "last_retrieved"),
},
),
(
Expand All @@ -208,6 +208,7 @@ class CollectionAdmin(TabbedDjangoJqueryTranslationAdmin):
{
"description": translation_reminder,
"fields": (
"retrieval_frequency",
"update_frequency",
"license_custom",
"source_url",
Expand Down Expand Up @@ -240,7 +241,7 @@ class CollectionAdmin(TabbedDjangoJqueryTranslationAdmin):
),
)

readonly_fields = ["last_update"]
readonly_fields = ["last_retrieved"]

inlines = [IssueInLine]

Expand Down
Loading

0 comments on commit 0ff41f4

Please sign in to comment.