0

I have deployed a Django project on Pythonanywhere.

I have a db.Sqlite3 database and I need to initiailze this database with a sql script.

I could not find how to do this in pythonanywhere and did not find any help on forums.

Is it possible (I think it is...) ?

SLATER
  • 613
  • 9
  • 31
  • take a look at this link [https://stackoverflow.com/questions/5931586/raw-sql-queries-in-django-views ]. I think it is what you want. – iliya May 25 '20 at 10:21
  • 1
    You can run your script from the bash console on PythonAnywhere. – Filip May 26 '20 at 09:40

0 Answers0