-1

I created a database with MYSQL Workbench 8.0 and I want to import it into Django, so that I can display the data on the browser. How can I do that?

Tms91
  • 3,456
  • 6
  • 40
  • 74
  • Please refer to tutorial https://www.digitalocean.com/community/tutorials/how-to-create-a-django-app-and-connect-it-to-a-database – webbyfox Feb 11 '19 at 11:54

1 Answers1

1

You have to use inspectdb to create the models from the database. I haven't ever done this myself so I can't help you with it, but here's more information about it: https://docs.djangoproject.com/en/dev/howto/legacy-databases/

Landcross
  • 472
  • 7
  • 16