Skip to content

Commit

Permalink
Merge pull request #306 from brunoamaral/305-clinical-trials-do-not-i…
Browse files Browse the repository at this point in the history
…nclude-source-when-added-via-rss

add source object when saving clinical trials from rss feed
  • Loading branch information
brunoamaral authored Feb 5, 2023
2 parents 3817735 + 8d0cede commit 9dc8605
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django/gregory/feedreader.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,6 @@ def do(self):
nct = entry['guid']
identifiers = {"eudract": eudract, "euct": euct, "nct": nct}
try:
trial = Trials.objects.create( discovery_date=timezone.now(), title = entry['title'], summary = summary, link = link, published_date = published, identifiers=identifiers)
trial = Trials.objects.create( discovery_date=timezone.now(), title = entry['title'], summary = summary, link = link, published_date = published, identifiers=identifiers, source = i)
except:
pass

0 comments on commit 9dc8605

Please sign in to comment.