django-councilmatic
django-councilmatic copied to clipboard
:heartpulse: Django app providing core functions for *.councilmatic.org
Related to this line: https://github.com/datamade/django-councilmatic/blob/master/councilmatic_core/templates/partials/map.html#L140 Couple things that lead to unexpected behaviour: - If a ward is named something like "Trinity-Spadina (19)", then the parentheses must be escaped with a...
Ref: https://github.com/datamade/django-councilmatic/blob/master/councilmatic_core/management/commands/loaddata.py#L744-L751 Any suggestions on how best to remove this? Should I remove wholesale, or hide it behind some logic where we check if the url is legistar? I believe...
Since we're implementing Miami's version of Councilmatic we are also working with the scraper API in development. There have been times when we wanted to check what the API is...
some of the settings that need to be set manually in `settings_jurisdiction.py` can actually be inferred, e.g. city council name, legislative sessions
what is the `&GUID` part for here? https://github.com/datamade/django-councilmatic/blob/master/councilmatic_core/management/commands/loaddata.py#L717 I’m parsing my event id correctly without it in the python shell. Thanks for taking a look!
Right now I can't find all the bills that a council member was the primary sponsor for. Let's make that possible.
Right now we are effectively requiring solr to index twice as much data as we need, because we are having solr index individual fields and then the concatenation of those...
'2011' & '2015' are confusing on search filters. would be nice to have friendly names, like '2011-2014' (would that be accurate tho?) from https://github.com/datamade/chi-councilmatic/issues/83
Silently swallow a couple of errors if data were incorrectly scraped. There's nothing to show, so lets show the user nothing instead of crashing the site. I don't know if...
This is interesting, since the Councilmatic models specify `on_delete=models.CASCADE`. https://github.com/datamade/django-councilmatic/blob/c68962a76ce4a02deca7e3db2c07786ec10c005f/councilmatic_core/models.py#L159-L165 Could this have to do with our use of `parent_link`? Related docs: https://docs.djangoproject.com/en/3.2/ref/models/fields/#django.db.models.OneToOneField This is blocking the correct function of...