arthurk / django-disqus

Integrates DISQUS into Django

Home Page:http://django-disqus.readthedocs.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

no such option: --verbosity

maupa-xx opened this issue · comments

Hello

I have a problem with disqus_export command: default verbosity is not set and there is no verbosity option. Am I missing something? I use version 0.3.4.

Regards
Magda

$ python manage.py disqus_export -d
Traceback (most recent call last):
  File "manage.py", line 11, in 0.3.4
    execute_manager(settings)
  File "/home/dev/www/.python/lib/python2.5/site-packages/django/core/management/__init__.py", line 340, in execute_manager
    utility.execute()
  File "/home/dev/www/.python/lib/python2.5/site-packages/django/core/management/__init__.py", line 295, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/home/dev/www/.python/lib/python2.5/site-packages/django/core/management/base.py", line 192, in run_from_argv
    self.execute(*args, **options.__dict__)
  File "/home/dev/www/.python/lib/python2.5/site-packages/django/core/management/base.py", line 219, in execute
    output = self.handle(*args, **options)
  File "/home/dev/www/.python/lib/python2.5/site-packages/django_disqus-0.3.4-py2.5.egg/disqus/management/commands/disqus_export.py", line 56, in handle
    verbosity = int(options.get('verbosity'))
TypeError: int() argument must be a string or a number, not 'NoneType'
$ python manage.py disqus_export -d --verbosity=1
Usage: manage.py disqus_export [options] 

Export comments from contrib.comments to DISQUS

manage.py: error: no such option: --verbosity

Hey Magda,

which Django version are you using?

Arthur