Permalink
Fetching contributors…
Cannot retrieve contributors at this time
11 lines (7 sloc) 251 Bytes
from django.conf import settings
from django.contrib import admin
if 'django.contrib.auth' in settings.INSTALLED_APPS:
from tastypie.models import ApiKey
class ApiKeyInline(admin.StackedInline):
model = ApiKey
extra = 0