Because many hosting providers does not allow shell access, I decided
to create web version of syncdb. I made this simple function, and
looks like it works

def db_sync(request):
    from django.core import management
    management.syncdb()
    return HttpResponse("Db sync in progress.")

Is it really so simple, or is there is something I'm missing besides
sys. messages?
If so maybe model creation interfacwe can be built?

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

Reply via email to