Implemented the solution proposed to #130 - removed TreeModel and made a SlugTreeEnti...
authorStephen Burrows <stephen.r.burrows@gmail.com>
Wed, 1 Jun 2011 21:47:28 +0000 (17:47 -0400)
committerStephen Burrows <stephen.r.burrows@gmail.com>
Wed, 1 Jun 2011 21:47:28 +0000 (17:47 -0400)
commit21abe382ad825e1383dfb1299efc1201ddd1e1c0
tree8ad1eefec6f89bf26f6a8799d02193eb091229b1
parent53e7a83e124b274f887d368fca7623bba6a6107c
Implemented the solution proposed to #130 - removed TreeModel and made a SlugTreeEntity subclass of TreeEntity to handle Node and Template. Correctly subclassed SlugTreeEntity.Meta so that Node and Template actually have the unique constraints they are meant to. Minor correction to TreeEntity.get_path.
docs/models/entities.rst
philo/admin/base.py
philo/admin/pages.py
philo/contrib/shipherd/migrations/0003_auto__del_field_navigationitem_slug.py [new file with mode: 0644]
philo/contrib/shipherd/models.py
philo/migrations/0016_auto__add_unique_node_slug_parent__add_unique_template_slug_parent.py [new file with mode: 0644]
philo/models/base.py
philo/models/nodes.py
philo/models/pages.py