In this article we are going to deep dive into Django models, so let’s get started…

django-models
Photo by Tobias Fischer on Unsplash

What are models in Django?

A model is the single, definitive source of information about your data. It contains the essential fields and behaviors of the data you’re storing. Generally, each model maps to a single database table.

This…

If you just need the .yml file here it is…

Create the docker-compose.yml file add the following code there,

After that run the docker-compose up command to run this file.

That's it after that every time you will start the docker the MySQL and phpMyAdmin service will also restart.

Nikhil Chintawar

Software Engineer at DPhi.tech

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store