short poll: schema evolution interface

0 views
Skip to first unread message

pub...@kered.org

unread,
May 31, 2006, 6:02:11 PM5/31/06
to django-d...@googlegroups.com, soc20...@googlegroups.com
regarding how a developer would interact with any schema evolution
implementation...would you prefer / see as more natural:

1) a commandline util only (via manage.py)
2) a web-based UI only (via the admin screens)
3) both

(remember that we're likely talking about a multi-step upgrade process for
more complicated modifications)

if {2,3}, would you want the application to block (or redirect to a
holding page) all incoming requests once it detects an update is needed?

aux question: my personal experience is that you should lock down alter
table permissions away from the application's credentials. is this common
in the django community?

thanks!
derek

James Bennett

unread,
May 31, 2006, 6:03:22 PM5/31/06
to django-d...@googlegroups.com
On 5/31/06, pub...@kered.org <pub...@kered.org> wrote:
> 1) a commandline util only (via manage.py)

This would maintain consistency with the rest of Django's management
options; I'd always figured that at least part of the schema evolution
interface would involve manage.py.

--
"May the forces of evil become confused on the way to your house."
-- George Carlin

Bryan

unread,
May 31, 2006, 6:23:41 PM5/31/06
to Django developers
> 1) a commandline util only (via manage.py)
+1

John Melesky

unread,
May 31, 2006, 6:30:08 PM5/31/06
to django-d...@googlegroups.com
James Bennett wrote:
> On 5/31/06, pub...@kered.org <pub...@kered.org> wrote:
>> 1) a commandline util only (via manage.py)

+1

-johnnnnnn

Honza Král

unread,
May 31, 2006, 9:04:06 PM5/31/06
to django-d...@googlegroups.com
+1 on 1) ;)


--
Honza Král
E-Mail: Honza...@gmail.com
ICQ#: 107471613
Phone: +420 606 678585

Ilias Lazaridis

unread,
Jun 1, 2006, 9:51:21 PM6/1/06
to django-d...@googlegroups.com
pub...@kered.org wrote:
> regarding how a developer would interact with any schema evolution
> implementation...would you prefer / see as more natural:
>
> 1) a commandline util only (via manage.py)
> 2) a web-based UI only (via the admin screens)
> 3) both

of course i would prefere to have both available.

but as the time is limited, I would prefere to see the efforts going
into a cmd-line utility.

so 1) (due to the limited time budget)

> (remember that we're likely talking about a multi-step upgrade process for
> more complicated modifications)
> if {2,3}, would you want the application to block (or redirect to a
> holding page) all incoming requests once it detects an update is needed?

wouldn't this be neccessary for a cmd-line update, too?

> aux question: my personal experience is that you should lock down alter
> table permissions away from the application's credentials. is this common
> in the django community?

I don't know about the django community, but personally, I would remove
all permissions which could become critical to application integrtiy.

Possibly the evolution tool should provide a mechnism to unlock them.

.

--
http://lazaridis.com

Reply all
Reply to author
Forward
0 new messages