Removing docs for piece I deleted previously

This commit is contained in:
Corey Oordt 2010-04-06 12:48:23 -04:00
parent 8a5c137eb6
commit 53372a60a9

View file

@ -24,18 +24,3 @@ If you want more than one field on a model you have to have some extra arguments
The ``extra_args`` allows you to specify the related_name of one of the fields so it doesn't clash.
Extra fields with Many-to-Many Categories
=========================================
Occasionally you may want to add one or more fields to the categories you relate to a given model. For example, you may want an easy way to select one of the categories to be "primary." This requires a bit more work.
1. Create the intermediary class::
from categories.models import CategoryIntermediary
# We're assuming that there is a ``Blog`` model previously defined
# or imported
class BlogCategories(CategoryIntermediary):
blog = models.ForeignKey(Blog)
categories.register_m2m(Blog, extra_args={'through':'BlogCategories'})