mirror of
https://github.com/django/django.git
synced 2025-07-04 09:49:12 +00:00
new-admin and trunk: Normalized spacing differences in bin/validate.py between trunk and new-admin
git-svn-id: http://code.djangoproject.com/svn/django/branches/new-admin@1420 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
a7f2b39b10
commit
a67a1d53b4
@ -33,8 +33,7 @@ def validate_class(klass):
|
||||
if opts.admin is not None:
|
||||
assert opts.admin.ordering or opts.ordering, \
|
||||
"%s needs to set 'ordering' on either its 'admin' or its model," \
|
||||
"because it has 'admin' set." % \
|
||||
opts.object_name
|
||||
" because it has 'admin' set." % opts.object_name
|
||||
|
||||
if __name__ == "__main__":
|
||||
import sys
|
||||
|
Loading…
x
Reference in New Issue
Block a user