[Answer]-Setup Latest django code on local machine to learn and develop?

0๐Ÿ‘

โœ…

  1. You can clone the repository, if you have git installed:

    $ git clone https://github.com/django/django.git
    $ cd django
    django $ ls
    
  2. You can create a virtual environment, install django in it and the play with the local copy:

    $ virtualenv ~/my_django
    $ source ~/my_django/bin/activate
    (my_django) $ pip install django
    
  3. The easiest option is to simply browse the source online if all you want to know is how something is put together.

๐Ÿ‘คBurhan Khalid

1๐Ÿ‘

If you installed it, youโ€™ll have the entire code available somewhere like /usr/lib/python/site-packages/django (use locate django in terminal to find the correct dir) on Linux or C:/Python27/Lib/site-packages/django on Windows.

You can see the code, and even make modifications. If you want to contribute to Django, youโ€™ll need some knowledge before, and follow some rules.

๐Ÿ‘คMaxime Lorant

Leave a comment