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

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 few

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 the

Re: django question

2014-01-06 Thread Roy Smith
In article f1732cf8-b829-4162-99e5-91e0d82cc...@googlegroups.com, CM cmpyt...@gmail.com 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

Re: django question

2014-01-05 Thread Igor Korot
Hi, Tim, On Sat, Jan 4, 2014 at 5:37 PM, Tim Chase python.l...@tim.thechases.com 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

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 Bottle[2]

Re: django question

2014-01-05 Thread Roy Smith
In article mailman.4972.1388957900.18130.python-l...@python.org, Tim Chase python.l...@tim.thechases.com 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,

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

Re: django question

2014-01-04 Thread Joel Goldstick
On Sat, Jan 4, 2014 at 6:30 PM, Igor Korot ikoro...@gmail.com 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

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 am