There's always a better way of doing it



or you can just use rails and use render :json

sun_face.jpg
 
qm.gif
3p8mwv.jpg


The point is keeping views clean of queries, which can be considered information that can be reused in an application, therefore shouldn't be duplicated. Perfect for bots maybe?
 
qm.gif
3p8mwv.jpg


The point is keeping views clean of queries, which can be considered information that can be reused in an application, therefore shouldn't be duplicated. Perfect for bots maybe?

in django, a view is the equivalent of a rails controller yeah? if so, there's been a topic discussed for years in the rails community: the { buckblogs :here }: Skinny Controller, Fat Model

otherwise, :small-smiley-026: I don't really know :spawn:
 
I'm actually learning Python and Django (which I constantly pronounce and DeJango).

Come at me bro.
 
I should force my coworkers to use Python. They seem to have problems with improper use of whitespace and bad indenting practices. A bit of Python might sort that out for them...
 
nice, favorited this article... I've been using Managers a lot, this is definitely a cleaner implementation.