Commits

Peter Nixon  committed 09d85dd

Add radippool to admin interface

  • Participants
  • Parent commits 91b6400

Comments (0)

Files changed (1)

File freeradius/admin.py

     list_filter    = ('groupname',)
 
 class RadippoolAdmin(admin.ModelAdmin):
-    pass
+    list_display   = ('pool_name', 'framedipaddress', 'nasipaddress', 'expiry_time',)
+    list_filter    = ('pool_name', 'nasipaddress', 'expiry_time',)
+    search_fields  = ('framedipaddress',)
 
 class RadacctAdmin(admin.ModelAdmin):
     list_display   = ('acctuniqueid', 'username', 'nasipaddress', 'acctstarttime', 'acctsessiontime',)