getting_started.txt 440 Bytes
Newer Older
Alex Gaynor committed
1 2 3
Getting Started
===============

Carl Meyer committed
4 5
To get started using ``django-taggit`` simply install it with
``pip``::
Alex Gaynor committed
6 7 8 9

    $ pip install django-taggit


Carl Meyer committed
10
Add ``"taggit"`` to your project's ``INSTALLED_APPS`` setting.
Alex Gaynor committed
11 12 13 14 15 16 17 18 19 20 21

And then to any model you want tagging on do the following::

    from django.db import models

    from taggit.managers import TaggableManager

    class Food(models.Model):
        # ... fields here

        tags = TaggableManager()
22