playlistShorten/urlweb/shortener/admin.py

10 lines
180 B
Python
Raw Permalink Normal View History

2011-07-20 15:25:26 +00:00
from django.contrib import admin
from urlweb.shortener.models import Link
class LinkAdmin(admin.ModelAdmin):
model = Link
extra = 3
admin.site.register(Link, LinkAdmin)