On Mon, Jun 30, 2008 at 2:31 PM, Jeff Anderson <[EMAIL PROTECTED]> wrote: > I thought of something that might prove useful. > > Anyone that has installed trac has used trac's command line admin interface. > > Something similar for django might be desirable in some situations. > > What I'm thinking is more or less a drop-in replacement for the > django.contrib.admin app. One would get access to admin functionality from > the command line: > > python manage.py admin-cli > > One would be able to add, delete, or modify instances. It is possible that > this might be more useful as a curses-driven app rather than as a straight > CLI similar to trac's. > > The benefits to such a system would include higher security for the web > portal. I might have a blog that I really don't want to get spammed. I > disable comments, and I uninstall the admin interface. I would be able to > make all changes to my site independent of any web requests. Granted, this > is security for the paranoid. > > Another benefit would be that it is nice to be able to edit content in more > than one way. Sometimes a full-blown web browser is just out of the > question. My server doesn't have X on it at all, so if I want to edit > something through the admin interface, I either have to get up, and bring my > laptop to where my server terminal is, or I have to get up and go use my > desktop. Neither of these are a big deal, but the point is that it'd be nice > to have the option to simply use a CLI for a django admin. > > There's no reason to write something like this to make it necessary to take > out the existing django admin from your INSTALLED_APPS-- it would be an > opt-in app, just like the web admin interface. > > I haven't found anything like this that already exists. I'd be willing to do > some coding for something like this if there's some interest. Please respond > with your opinions, comments, constructive criticism, etc. If its already > been done, I'd be excited to hear about that as well. >
python manage.py shell > Jeff Anderson > > -- Eduardo de Oliveira Padoan http://djangopeople.net/edcrypt/ http://whoisi.com/p/514 http://pinax.hotcluboffrance.com/profiles/edcrypt/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---