Installing Django on Mac

django

First you should install Python and Pip:

Then you install virtual environments:

And activate one virtual environment:

Then you install Django using pip in that virtual environment. Don’t use sudo, since if you use it, then you will install Django not in virtual environment but in common environment.

Now you can start creating Django projects using this tutorial.

To look at a version of installed Django use this:

To create a project:

To activate database:

To run a server:

To open your first project on Django:

Leave a Reply

Your email address will not be published. Required fields are marked *