diff --git a/pyi2phosts/postkey/admin.py b/pyi2phosts/postkey/admin.py index 28027be..1055b82 100644 --- a/pyi2phosts/postkey/admin.py +++ b/pyi2phosts/postkey/admin.py @@ -1,10 +1,12 @@ +from pyi2phosts.lib.utils import get_b32 from pyi2phosts.postkey.models import i2phost from pyi2phosts.postkey.models import PendingHost from django.contrib import admin class i2phostAdmin(admin.ModelAdmin): def url(self, hostname): - return 'look' + return 'b32' + url.allow_tags = True list_display = ('url', 'name', 'description', 'date_added', 'last_seen', 'expires',