summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2010-03-01 18:55:09 -0600
committerDan McGee <dan@archlinux.org>2010-04-18 23:14:53 -0500
commit1709def7f196e863de990ce3d55de63f7a349268 (patch)
treec3cc4ab24dfaabb078f2dbcec52adb6f30271c1d /main
parent94b735a181cef2a42d19a2bde55d48727a0ce35a (diff)
Remove International Communities
Add link to wiki instead. Also remove AltForum model and associated dealings. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'main')
-rw-r--r--main/admin.py9
-rw-r--r--main/models.py11
2 files changed, 1 insertions, 19 deletions
diff --git a/main/admin.py b/main/admin.py
index 4e71c4e0..64f28207 100644
--- a/main/admin.py
+++ b/main/admin.py
@@ -3,16 +3,10 @@ from django import forms
from django.contrib import admin
from django.contrib.auth.models import User
from django.contrib.auth.admin import UserAdmin
-from main.models import (AltForum, Arch, Donor,
+from main.models import (Arch, Donor,
Mirror, MirrorProtocol, MirrorUrl, MirrorRsync,
Package, Repo, UserProfile, ExternalProject)
-class AltForumAdmin(admin.ModelAdmin):
- list_display = ('language', 'name')
- list_filter = ('language',)
- ordering = ['name']
- search_fields = ('name',)
-
class DonorAdmin(admin.ModelAdmin):
ordering = ['name']
search_fields = ('name',)
@@ -90,7 +84,6 @@ class UserProfileAdmin(UserAdmin):
admin.site.register(User, UserProfileAdmin)
-admin.site.register(AltForum, AltForumAdmin)
admin.site.register(Donor, DonorAdmin)
admin.site.register(Mirror, MirrorAdmin)
diff --git a/main/models.py b/main/models.py
index 45c65406..c5279640 100644
--- a/main/models.py
+++ b/main/models.py
@@ -103,17 +103,6 @@ class MirrorRsync(models.Model):
class Meta:
verbose_name = 'Mirror Rsync IP'
-class AltForum(models.Model):
- id = models.AutoField(primary_key=True)
- language = models.CharField(max_length=255)
- url = models.CharField(max_length=255)
- name = models.CharField(max_length=255)
- def __unicode__(self):
- return self.name
- class Meta:
- db_table = 'alt_forums'
- verbose_name = 'AltForum'
-
class Donor(models.Model):
id = models.AutoField(primary_key=True)
name = models.CharField(max_length=255, unique=True)