Re: django question

2014-01-07 Thread aerojunkemail
Django is great On Tuesday, January 7, 2014 12:55:07 AM UTC-7, CM wrote: > On Monday, January 6, 2014 8:57:22 PM UTC-5, Roy Smith wrote: > > > > > Yes, exactly. There's nothing magic about a django view. It's just a > > > function which is passed an instance of HttpRequest (and possibly a f

Re: django question

2014-01-07 Thread CM
On Monday, January 6, 2014 8:57:22 PM UTC-5, Roy Smith wrote: > Yes, exactly. There's nothing magic about a django view. It's just a > function which is passed an instance of HttpRequest (and possibly a few > other things, depending on your url mapping), and which is expected to > return an i

Re: django question

2014-01-06 Thread Roy Smith
In article , CM wrote: > On Sunday, January 5, 2014 4:50:55 PM UTC-5, Roy Smith wrote: > > > One of the things we try to do is put as little in the views as > > possible. Views should be all about accepting and validating request > > parameters, and generating output (be that HTML via templa

Re: django question

2014-01-06 Thread CM
On Sunday, January 5, 2014 4:50:55 PM UTC-5, Roy Smith wrote: > One of the things we try to do is put as little in the views as > possible. Views should be all about accepting and validating request > parameters, and generating output (be that HTML via templates, or JSON, > or whatever). All

Re: django question

2014-01-05 Thread Igor Korot
Hi, ALL, Well, my employer does not know anything about web programming and I don't know anything about web programming and this is my first job with python. So since django is a well documented framework I guess it will be easier to go with a well documented framework. Thank you everybody for su

Re: django question

2014-01-05 Thread Roy Smith
In article , Tim Chase wrote: > Integration is one of the things that Django does particularly well: > out of the box, you get a web framework, database abstraction (ORM), > templating, out-of-the-box functionality, and PHENOMENAL > documentation. The others just bring the web-framework to the t

Re: django question

2014-01-05 Thread Tim Chase
On 2014-01-05 00:24, Igor Korot wrote: > > While I prefer Django for larger projects, for a lighter-weight > > project such as what you describe, I'd be tempted to go with > > something a little more light-weight unless you need additional > > interactivity. I've recently been impressed with Bottl

Re: django question

2014-01-05 Thread Igor Korot
Hi, Tim, On Sat, Jan 4, 2014 at 5:37 PM, Tim Chase wrote: > On 2014-01-04 15:30, Igor Korot wrote: >> Does anybody here use django? > > Yes. However there's also a Django-users mailing list[1] for > Django-specific questions. Folks there are friendly & helpful. Thank you for that. I didn't loo

Re: django question

2014-01-04 Thread Tim Chase
On 2014-01-04 15:30, Igor Korot wrote: > Does anybody here use django? Yes. However there's also a Django-users mailing list[1] for Django-specific questions. Folks there are friendly & helpful. > Is it possible to display a data grid table with django? The short answer is yes. > Basically I

Re: django question

2014-01-04 Thread Joel Goldstick
On Sat, Jan 4, 2014 at 6:30 PM, Igor Korot wrote: > Hi, ALL, > Does anybody here use django? > I have a very basic question about it. > > Is it possible to display a data grid table with django? > Yes, using the django template language. If you learn django (perhaps 2 days of exploring), you wo

django question

2014-01-04 Thread Igor Korot
Hi, ALL, Does anybody here use django? I have a very basic question about it. Is it possible to display a data grid table with django? Basically I am looking for displaying a data from the db table on the web interface thru django or some other web interface. My main application is in Python, that