Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow null values for source_url #234

Closed
wants to merge 1 commit into from
Closed

Conversation

reginafcompton
Copy link
Contributor

No description provided.

@@ -179,7 +179,7 @@ class Bill(models.Model):
identifier = models.CharField(max_length=50)
bill_type = models.CharField(max_length=50)
classification = models.CharField(max_length=100)
source_url = models.CharField(max_length=255)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why can't we use the API url here. seems like that would make debugging easier in the future?

Copy link
Contributor Author

@reginafcompton reginafcompton Feb 11, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah, I was waffling on this one, since Pupa requires a source_url....seems like Councilmatic should too.

If so, then I need to make a change in the scraper too, i.e., add a note to the source_url.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like I already opened an issue with a question about api vs. web: #227

@reginafcompton
Copy link
Contributor Author

@fgregg - I am going to close this PR in favor of scraper PR opencivicdata/scrapers-us-municipal#259 – which should fix the Sentry error.

I think the way we import source_note should remain a separate issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants