playlistShorten/urlweb/shortener/admin.py
2011-07-20 20:55:26 +05:30

10 lines
180 B
Python

from django.contrib import admin
from urlweb.shortener.models import Link
class LinkAdmin(admin.ModelAdmin):
model = Link
extra = 3
admin.site.register(Link, LinkAdmin)