Some combination of cgi and a system or execute command is a fun way
to both piss off your hosting provider and get that done.

You'll need to insert all the appropriate paths but it would look
something like this:

os.system('/path/to/python /path/to/manage.py syncdb');

If your hosting provider is incompotent that will work.

There are equivalents in php and perl if you can't run python as a normal cgi.

Ultimately as Jermy said, get a new host. You shouldn't have to hack
to get things done.

Vance



On 8/16/06, Jeremy Dunck <[EMAIL PROTECTED]> wrote:
>
> On 8/16/06, Jason F. McBrayer <[EMAIL PROTECTED]> wrote:
> >
> > Robin Gruyters <[EMAIL PROTECTED]> writes:
> >
> > >> > > My hosting provider doesn't give shell access, so I can't
> > >> > > execute like "syncdb", "startapp", "startproject", etc.
> > >> > >
> > >> > > Is there another way to do this? (e.g. by creating a runsync.py
> > >> > > script?! (or something?))
> >
>
> Hmm, I'd actually recommend changing hosts.
>
> >
>


-- 
Most People are not even aware of their need to conform. They live
under the illusion that they follow their own ideas and inclinations,
that they are individualists, that they have arrived a their opinions
as the result of their own thinking – and that it just happens that
their ideas are the same as those of the majority
-- Eric Fromm

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to