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