Skip to content

Commit

Permalink
Fixed a missing import in admin.py.
Browse files Browse the repository at this point in the history
  • Loading branch information
toastdriven committed Dec 12, 2010
1 parent 645f116 commit 163db31
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tastypie/admin.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
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

0 comments on commit 163db31

Please sign in to comment.