mirror of
https://github.com/django/django.git
synced 2025-12-04 00:55:36 +00:00
Fixed #1145 -- Added unit tests for default template filters and fixed two bugs in filters. Thanks, Luke Plant
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1811 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
4596b1bbfd
commit
53aef92bf8
4 changed files with 325 additions and 5 deletions
|
|
@ -206,7 +206,7 @@ if __name__ == "__main__":
|
|||
parser.add_option('-v', help='How verbose should the output be? Choices are 0, 1 and 2, where 2 is most verbose. Default is 0.',
|
||||
type='choice', choices=['0', '1', '2'])
|
||||
parser.add_option('--settings',
|
||||
help='Python path to settings module, e.g. "myproject.settings.main". If this isn\'t provided, the DJANGO_SETTINGS_MODULE environment variable will be used.')
|
||||
help='Python path to settings module, e.g. "myproject.settings". If this isn\'t provided, the DJANGO_SETTINGS_MODULE environment variable will be used.')
|
||||
options, args = parser.parse_args()
|
||||
verbosity_level = 0
|
||||
if options.v:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue