summaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2010-03-02 02:04:41 +0100
committerDan McGee <dan@archlinux.org>2010-04-19 06:27:27 +0200
commitec59440262596a03e2b374f96d24e295df56c9b8 (patch)
tree999a6f3bf90ebbedafdff38734c60ece35b2fb87 /main
parentd9e4a36fc96f7a0dd4b455189ee2ed45db005966 (diff)
downloadarchweb-ec59440262596a03e2b374f96d24e295df56c9b8.tar.gz
archweb-ec59440262596a03e2b374f96d24e295df56c9b8.tar.xz
Remove Arch-Based Projects
Add a link to the wiki instead. Also remove ExternalProject model and associated dealings. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'main')
-rw-r--r--main/admin.py3
-rw-r--r--main/models.py8
2 files changed, 1 insertions, 10 deletions
diff --git a/main/admin.py b/main/admin.py
index 64f2820..0585e5c 100644
--- a/main/admin.py
+++ b/main/admin.py
@@ -5,7 +5,7 @@ from django.contrib.auth.models import User
from django.contrib.auth.admin import UserAdmin
from main.models import (Arch, Donor,
Mirror, MirrorProtocol, MirrorUrl, MirrorRsync,
- Package, Repo, UserProfile, ExternalProject)
+ Package, Repo, UserProfile)
class DonorAdmin(admin.ModelAdmin):
ordering = ['name']
@@ -92,6 +92,5 @@ admin.site.register(MirrorProtocol)
admin.site.register(Package, PackageAdmin)
admin.site.register(Arch)
admin.site.register(Repo, RepoAdmin)
-admin.site.register(ExternalProject)
# vim: set ts=4 sw=4 et:
diff --git a/main/models.py b/main/models.py
index c527964..5e376ec 100644
--- a/main/models.py
+++ b/main/models.py
@@ -335,12 +335,4 @@ class TodolistPkg(models.Model):
db_table = 'todolist_pkgs'
unique_together = (('list','pkg'),)
-class ExternalProject(models.Model):
- url = models.URLField(verify_exists=False)
- name = models.CharField(max_length=64)
- description = models.CharField(max_length=128)
-
- def __unicode__(self):
- return self.name
-
# vim: set ts=4 sw=4 et: