Skip to content

Commit

Permalink
This should help with migration efforts and related documentation like
Browse files Browse the repository at this point in the history
  • Loading branch information
pydanny committed Jul 16, 2013
1 parent 82934d4 commit 9957e78
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions djadmin2/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,8 @@
default = core.Admin2()
ModelAdmin2 = types.ModelAdmin2
Admin2Inline = types.Admin2Inline

# Utility to make migration between versions easier
sites = default
ModelAdmin = ModelAdmin2
AdminInline = Admin2Inline

0 comments on commit 9957e78

Please sign in to comment.