You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
experience has taught us that the pattern where we have base templates, views, and models in one repo, which we we subtype and override in this project creates a lot of friction without benefits.
not only does that produce confusing indirection, changes to django-councilmatic have to be made slowly and carefully to not impinge on la-metro
i propose that we remove django-councilmatic as a dependency for chi-councilmatic.
here's what would be needed
localize all the templates
localize all the views
localize all the models
we've already localized all the templates. and it won't be too hard to localize the views as we have largely duplicated all of them anyway.
localizing the models will be the most challenging piece as we need to provide hooks so that when chicago-council-scrapers run it will update the right models.
we could do that by making the chi-councilmatic models an installable app as python-opencivicdata does.
The text was updated successfully, but these errors were encountered:
experience has taught us that the pattern where we have base templates, views, and models in one repo, which we we subtype and override in this project creates a lot of friction without benefits.
not only does that produce confusing indirection, changes to django-councilmatic have to be made slowly and carefully to not impinge on la-metro
i propose that we remove django-councilmatic as a dependency for chi-councilmatic.
here's what would be needed
we've already localized all the templates. and it won't be too hard to localize the views as we have largely duplicated all of them anyway.
localizing the models will be the most challenging piece as we need to provide hooks so that when chicago-council-scrapers run it will update the right models.
we could do that by making the chi-councilmatic models an installable app as python-opencivicdata does.
The text was updated successfully, but these errors were encountered: