Re: Making command-line clients to Django data

2011-06-24 Thread Cal Leeming [Simplicity Media Ltd]
On Fri, Jun 24, 2011 at 7:18 PM, Jeff Blaine wrote: > Just a follow-up: > > Well, I took your advice and did it via manage command(s) with wrapper > scripts > for the users. It's working well so far. I do wish I had a clearer > understanding > of what the downside to the "standalone" method is,

Re: Making command-line clients to Django data

2011-06-24 Thread Jeff Blaine
Just a follow-up: Well, I took your advice and did it via manage command(s) with wrapper scripts for the users. It's working well so far. I do wish I had a clearer understanding of what the downside to the "standalone" method is, but I suspect I will never know unless I go out of my way and t

Re: Making command-line clients to Django data

2011-06-13 Thread Javier Guerra Giraldez
On Mon, Jun 13, 2011 at 7:05 PM, creecode wrote: > I started out with straight shell scripts and have switched over to > management commands. same here. i feel dumb every time i have to maintain those old scripts, things are much easier with management commands. if you don't want your users to

Re: Making command-line clients to Django data

2011-06-13 Thread creecode
Hello Jeff, On Monday, June 13, 2011 1:04:16 PM UTC-7, Jeff Blaine wrote: It's not how we want the end-users to interface with it. Perhaps if you describe how you do want your users to interface with the website via command line then we could give you better advice. > Why is it a dumb idea?

Re: Making command-line clients to Django data

2011-06-13 Thread Jeff Blaine
> > Why not? To want a decent CLI integrated with your app, but without using > management commands, is a pretty dumb idea. > It's not how we want the end-users to interface with it. Why is it a dumb idea? -- You received this message because you are subscribed to the Google Groups "Django

Re: Making command-line clients to Django data

2011-06-13 Thread Cal Leeming [Simplicity Media Ltd]
On Mon, Jun 13, 2011 at 7:05 PM, Jeff Blaine wrote: > We've got our Django site complete for now. It consists entirely of just a > customized > default "admin" setup. > > We'd like to develop some command-line interfaces to the data. > > Is there a good/best approach to doing this? Can I (recom

Making command-line clients to Django data

2011-06-13 Thread Jeff Blaine
We've got our Django site complete for now. It consists entirely of just a customized default "admin" setup. We'd like to develop some command-line interfaces to the data. Is there a good/best approach to doing this? Can I (recommended?) use templates for formatting text to the terminal? Any