Quick install guide. Django Software Foundation Django
Anuncio
Anuncio
Django Documentation, Release 1.6.12.dev20160216120443
2.1.8 This is just the surface
This has been only a quick overview of Django’s functionality. Some more useful features:
• A
that integrates with memcached or other backends.
• A
that makes creating RSS and Atom feeds as easy as writing a small Python class.
• More sexy automatically-generated admin features – this overview barely scratched the surface.
The next obvious steps are for you to download Django , read
and join the community . Thanks for your interest!
2.2 Quick install guide
Before you can use Django, you’ll need to get it installed. We have a
that covers all the possibilities; this guide will guide you to a simple, minimal installation that’ll work while you walk through the introduction.
2.2.1 Install Python
Being a Python Web framework, Django requires Python. It works with Python 2.6, 2.7, 3.2 or 3.3. All these versions of Python include a lightweight database called SQLite so you won’t need to set up a database just yet.
Get Python at http://www.python.org
. If you’re running Linux or Mac OS X, you probably already have it installed.
Django on Jython
If you use Jython (a Python implementation for the Java platform), you’ll need to follow a few additional steps. See
for details.
You can verify that Python is installed by typing python from your shell; you should see something like:
Python 2.6.6 (r266:84292, Dec 26 2010, 22:31:48)
[GCC 4.4.5] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>
2.2.2 Set up a database
This step is only necessary if you’d like to work with a “large” database engine like PostgreSQL, MySQL, or Oracle.
To install such a database, consult the
database installation information .
2.2.3 Remove any old versions of Django
If you are upgrading your installation of Django from a previous version, you will need to
uninstall the old Django version before installing the new version .
10 Chapter 2. Getting started
Descargar
Anuncio