GithubHelp home page GithubHelp logo

Comments (2)

gordonje avatar gordonje commented on June 25, 2024

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.

NathanLawrence avatar NathanLawrence commented on June 25, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.