Close

Adding in Discussion and Abstracting Comments

A project log for Avalanche

Open Source Hardware Collaboration Website

ben-hoffBen Hoff 04/21/2015 at 13:500 Comments

I got asked a lot during this stream what I'm making. I need to do a proper post at some point, but I've had the idea kicking around my head a long time for a platform to collaborate on hardware design, and this Web API that I'm building is going to be used for that.

Right now the top level model is the Project. I've partially implemented in the past an Idea model, which will be used to share ideas on a project and will be sorted based on user feedback (up/down votes or similar). I spent this stream creating a Discussion model which will be used like a forum, I.E. time based filtering. (Future models that I want to create include a Blog, Wiki, and I'm kicking around in my head the idea of a Q&A section....but that's besides the point)

In the end of this stream, I spent a lot of time fighting with getting Django generics and ContentTypes working so that I can attach my Comment model to both Idea and Discussion. I did not resolve this issue during this stream :(

Here's the commit from this stream: https://github.com/benhoff/ava/commit/08e4fce70d30761e858b36d3f97b405092e26238

and you can browse the directory here: https://github.com/benhoff/ava/tree/08e4fce70d30761e858b36d3f97b405092e26238

And of course, the stream itself:

https://www.youtube.com/watch?v=yg0nWcVeOIY

Discussions