summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-03-30 00:39:59 +0200
committerDan McGee <dan@archlinux.org>2011-04-08 00:04:00 +0200
commit6fe08cd68901e698f4a0741e177354a45c753b46 (patch)
tree28a464e34823b62a1fcf5b26b02174b477ec10be /templates
parentac550af4c9b31fe85b783d846adad75bb7d4aa02 (diff)
downloadarchweb-6fe08cd68901e698f4a0741e177354a45c753b46.tar.gz
archweb-6fe08cd68901e698f4a0741e177354a45c753b46.tar.xz
Utilize Django 1.3 'on_delete' feature on several foreign keys
The most important one here is PROTECT to keep people from making bone-headed plays and deleting an Arch or Repo and every package along with it. We can use this in a few other places, as well as some carefully placed SET_NULL indicators. Note that nothing here pushes deletion responsibilities down to the database, although that will probably happen in a future commit. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates')
0 files changed, 0 insertions, 0 deletions