
How to get Django. Django is available open-source under the BSD license. We recommend using the latest version of Python 3. The last version to support. السيد المثالي • 10 months ago. thanks bro. How To Install Django 2.2 on Windows 10 pip install virtualenv virtualenvwrapper-win. after you install then you can install django, first you need to type A button that says 'Download on the App Store', and if clicked it.
| setting up django on windows(32bit) |
|
| 1. Install latest version of python (2.6 or higher).remember python 3.0 have no support for django. |
| http://www.python.org/download/ |
| Add your python c:\Python2x to path(Control Panel > System > Advanced > Environment Variables) |
| for example:if python 2.7 is installed then path will look like c:\Python27 |
| Control Panel > System > Advanced > Environment Variables |
| 2. Install setuptools for your windows version from |
| http://pypi.python.org/pypi/setuptools#downloads |
| if you have any difficulty in installing it. please run the file using python interpretter(IDLE) |
|
| 3. Download and install pip from |
| http://pypi.python.org/pypi/pip#downloads |
| installing pip |
| a)unzip your pip folder |
| b)go to the uncompressed pip directory and: python setup.py install |
| c)Add your python c:\Python2x\Scripts to the path |
|
| 4. Now you can install any python packages using pip |
|
| pip install package_name |
|
| we can install and download django by this command |
|
| "pip install django" |
|
| this will download and install django. |
|
| 5. you can install mysql dependencies by this command |
| pip install mysql-python |
| or |
| http://sourceforge.net/projects/mysql-python/ |
|
| 6. For localisation you need xgettext |
|
| a) Win32 users need to dowload 3 zip files from ?http://sourceforge.net/projects/gettext : |
| a1)gettext-runtime-X.bin.woe32.zip |
| a2)gettext-tools-X.bin.woe32.zip |
| a3)libiconv-X.bin.woe32.zip |
| b) extract the 3 files in the same folder ( ie C:\Program Files\gettext-utils ) |
|
| c)Update the system PATH : |
| Control Panel > System > Advanced > Environment Variables |
| ie, C:\Program Files\gettext-utils\bin" at the end of the "Variable value" windows |
|
| Note: |
| For 64bit windows you install it using cygwin |
| http://cygwin.com |
|
|
|
|
|
|
|
|
|
|
Источник: [https://torrent-igruha.org/3551-portal.html]
-
-
-