Cutting stuff out.
[wolnelektury.git] / src / catalogue / admin.py
index ebd14b9..ad5e209 100644 (file)
@@ -16,6 +16,7 @@ class TagAdmin(admin.ModelAdmin):
     search_fields = ('name',)
     ordering = ('name',)
     readonly_fields = ('occurrences',)
     search_fields = ('name',)
     ordering = ('name',)
     readonly_fields = ('occurrences',)
+    raw_id_fields = ['user']
 
     def occurrences(self, tag):
         return tag.items.count()
 
     def occurrences(self, tag):
         return tag.items.count()