summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
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 64f28207..0585e5c3 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 c5279640..5e376ec9 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: