Szkolenia informatyczne: biuro, technologie internetowe, egzaminy technik

CENA - OFERTA: Jesteś zainteresowany/na kursem – zapraszam do kontaktu ze mną, szczegóły: www.poswojsku.pl .

kurs tworzenie witryn www
szkolenie technik informatyk programista inf.03 ee.09 inf.04 egzamin przygotowanie

 

DJANGO Python INSTALLATION

flag language

Djano Python framework installation windows guide free training Django is a web framework written in Python with a view to fast, but not necessarily simple, especially for non-programmers, application development. Django has a transparent and pragmatic architecture. Django is a framework high level.

 

DJANGO Python INSTALLATION

 

Djano Python framework installation windows guide free training

Before you can use Django, you must install Django. For completely green: to install Django, you must first install Python ;) .

Django requires Python, and works with Python both:

 

2nd - from version 2.7 as well

 

3rd - from version 3.2.

The listed Python versions contain a SQLite database, so you won't need to create a database.

You can download the latest Python version at https://www.python.org .

After installing Python, check if it is correctly installed. When calling Python from the Windows shell, you should see something like this:

Python 3.4.3 .. (and the whole string - 2-3 lines of stamps ;) )

DATABASE CONFIGURATION - DJANGO

If you want to work with a "large" database engine, such as PostgreSQL, MySQL or Oracle, you need to configure the appropriate database. If you are not planning a very big project, skip this step.

DJANGO INSTALLATION

Download DJANGO ( www.djangoproject.com ) using "pip". Before installing Django, first check that you have correctly installed pip.

pip is a package management system. We use Pip to install and manage Python software packages.

When you have correctly installed pip, enter in CMD (Windows command line)

pip install Django

Preferably use the latest stable version for installation. Unless you are a high-class developer, then you can play with the latest developer version :) .

To verify the installation of Django, enter Python's command line:

import django

print(django.get_version())

Now: ENTER

It should give the result:

1.7

You may have a different version of Django - then another number will pop up.

PROBLEMS DURING INSTALLATION DJANGO WINDOWS VERSION

 

The most common problems when installing Django on Windows come from the fact that Windows and Django are two different worlds, and more specifically two other philosophies associated with other operating systems. Django is a Unix idea, and Windows is known;). Therefore, problems arise during installation.

 

pip is not recognized as an internal or external command, executable program or batch file

 

'pip' is not recognized as an internal or external command - Installing Django Windows

 

... - see in the next article how to solve this problem

 

 

 

 

 

See in the menu similar articles to: Djano Python framework installation windows guide free training

Angielski
szkolenia bezpłatne kolejne lekcje
kursy, porady, artykuły znajdziesz w Menu Tematycznym