Ask coding questions

← Back to all posts
1
How do I run manage.py commands (Django) on my Repl?
pattmax (3)

I need to run "python manage.py migrate --run-syncdb" on my Django Repl. How do I do this? I've already tried just pasting it into the console and it doesn't do anything, with my repl stopped and also running.

Commentshotnewtop
1
PaoloAmoroso (62)

Try python -m manage.py migrate --run-syncdb in the shell.

1
pattmax (3)

@PaoloAmoroso Just tried it. I'm still getting "OperationalError at /upload no such table:"