I\'m trying to sync my db from a view, something like this:
from django import http from django.core import management def syncdb(request): management.call_
management.call_command('syncdb', interactive=False)