Permalink
Browse files

Moved the admin inline JS to new JS files for cleanliness.

  • Loading branch information...
1 parent 6e2bb34 commit 4754f122dd9b41fc9b2dee3fa74e19fc384237ab @tswicegood tswicegood committed with jphalip Sep 8, 2012
View
@@ -506,6 +506,7 @@ answer newbie questions, and generally made Django that much better:
Johan C. Stöver <johan@nilling.nl>
Nowell Strite <http://nowell.strite.org/>
Thomas Stromberg <tstromberg@google.com>
+ Travis Swicegood <travis@domain51.com>
Pascal Varet
SuperJared
Radek Švarz <http://www.svarz.cz/translate/>
@@ -1456,8 +1456,10 @@ def has_delete_permission(self, request, obj=None):
return request.user.has_perm(
self.opts.app_label + '.' + self.opts.get_delete_permission())
+
class StackedInline(InlineModelAdmin):
template = 'admin/edit_inline/stacked.html'
+
class TabularInline(InlineModelAdmin):
template = 'admin/edit_inline/tabular.html'
Oops, something went wrong.

0 comments on commit 4754f12

Please sign in to comment.