@@ -8,16 +8,9 @@ retrieval of tags simple.
8
8
9
9
.. _`Django` : http://www.djangoproject.com
10
10
11
- .. toctree ::
12
- :maxdepth: 3
13
-
14
- Indices and tables
15
- ==================
16
-
17
- * :ref: `genindex `
18
- * :ref: `modindex `
19
- * :ref: `search `
20
-
11
+ .. contents ::
12
+ :local:
13
+ :depth: 3
21
14
22
15
Installation
23
16
============
@@ -31,21 +24,16 @@ https://pypi.python.org/pypi/django-tagging/
31
24
Source distribution
32
25
~~~~~~~~~~~~~~~~~~~
33
26
34
- Download the .zip distribution file and unpack it. Inside is a script
27
+ Download the a distribution file and unpack it. Inside is a script
35
28
named ``setup.py ``. Enter this command::
36
29
37
- python setup.py install
30
+ $ python setup.py install
38
31
39
32
...and the package will install automatically.
40
33
41
- Windows installer
42
- ~~~~~~~~~~~~~~~~~
43
-
44
- A Windows installer is also made available - download the .exe
45
- distribution file and launch it to install the application.
34
+ More easily with :program: `pip `::
46
35
47
- An uninstaller will also be created, accessible through Add/Remove
48
- Programs in your Control Panel.
36
+ $ pip install django-tagging
49
37
50
38
Installing the development version
51
39
----------------------------------
@@ -66,8 +54,8 @@ You can verify that the application is available on your PYTHONPATH by
66
54
opening a Python interpreter and entering the following commands::
67
55
68
56
>>> import tagging
69
- >>> tagging.VERSION
70
- (0, 3, 4, 'final', 0)
57
+ >>> tagging.__version__
58
+ 0.4.dev0
71
59
72
60
When you want to update your copy of the Django Tagging source code, run
73
61
the command ``git pull `` from within the ``django-tagging `` directory.
@@ -91,14 +79,13 @@ Once you've installed Django Tagging and want to use it in your Django
91
79
applications, do the following:
92
80
93
81
1. Put ``'tagging' `` in your ``INSTALLED_APPS `` setting.
94
- 2. Run the command ``manage.py syncdb ``.
82
+ 2. Run the command ``manage.py migrate ``.
95
83
96
- The ``syncdb `` command creates the necessary database tables and
84
+ The ``migrate `` command creates the necessary database tables and
97
85
creates permission objects for all installed apps that need them.
98
86
99
87
That's it!
100
88
101
-
102
89
Settings
103
90
========
104
91
0 commit comments