Comments (2)
Maybe it's overconfidence, but I feel comfortable mapping out these domains, including campaign finance and generic people. And having control of these models actually feels more like a timesaver in terms of making changes faster without having to consider the broader scope (e.g., does this new field make sense in every legislative body?) Also, we would likely end up dealing with the cruft and terminology translation you mention in am's own views and admins.
We should probably investigate in more detail what exactly integration/interoperability would look like. If this is more of a secondary or long-term maintainability concern, maybe the middle ground solution would be something like an app in the am-django project for loading from/into opencivicdata models. This would allow us to keep control over mapping out the domains relevant to Access Missouri while creating a space for dealing with integration if/when those issues actually arise.
Are OCD's django models so close to being exactly what the Access Missouri needs that we don't mind maintaining what little grafting logic is required as part of AM's core (e.g., in the views and admins)?
If not, then is integration/interoperability a primary concern? (And I feel like it is if we can't name the specific services with which we're integrating).
If not, then I say we should definitely be writing our own models. We could start by pointing django at the current access mo postgres db and doing inspectdb and making some edits inspired by OCD's specs.
This feels like a 180 for me. Sorry bout that.
from am-django-project.
I'm coming around to this as well. In terms of using inspectdb, we have some problems that would prevent us from doing that, but the current structure is such a mess that I'm not sure I'd want to take that route anyway. I have posted this for you, though -- it's the PeeWee version of all our current models based on my inspection in a gist.
from am-django-project.
Related Issues (17)
- PersonVote model ordering not implemented
- Transaction Detail Page
- Finance Section Issues
- Bill Text Page Gives Error 500 if Unscraped
- Show Vote Date on Vote Detail Page
- All Page Search Bar
- Link to Session Index Page from Somewhere
- Add Top Donors to Finance Pages
- Update Models in Accordance with Conversation on Aug. 4
- Home Page
- Implement get_bill_status Method on Bill Models
- Convert React Search Module/API Code for People and Finance Entites
- Session Index and Detail Pages HOT 1
- State searchSubmitted is not properly set when search button is pressed.
- Using Management Commands to Import Cached Legiscan JSON for Bills Deletes Their Text HOT 1
- Implement Bill Status Caching
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from am-django-project.