[Oi-commits] r2013 - branches/newdesign/forum
oi-commits at pardus.org.tr
oi-commits at pardus.org.tr
Sat Sep 20 17:25:46 EEST 2008
Author: jnmbk
Date: Sat Sep 20 17:25:46 2008
New Revision: 2013
Added:
branches/newdesign/forum/admin.py
Modified:
branches/newdesign/forum/models.py
Log:
forum in admin
Modified: branches/newdesign/forum/models.py
=================================================================
--- branches/newdesign/forum/models.py (original)
+++ branches/newdesign/forum/models.py Sat Sep 20 17:25:46 2008
@@ -283,10 +283,6 @@
def __unicode__(self):
return self.name
- class Admin:
- list_display = ('category', 'name')
- prepopulated_fields = {'slug': ("name",)}
-
class Meta:
ordering = ('order',)
unique_together = (('category', 'order'),)
@@ -309,11 +305,6 @@
def get_absolute_url(self):
return '/forum/'
- class Admin:
- list_display = ('id', 'name')
- ordering = ['-name']
- search_fields = ['name']
-
class Meta:
ordering = ['name']
verbose_name = 'Kategori'
More information about the Oi-commits
mailing list