django - Why do I get this error when I run "python manage.py syncdb --all"? -


i trying apply tutorial http://docs.django-cms.org/en/2.1.3/getting_started/tutorial.html.

but didn't succeed perform initial database setup

why error when run "python manage.py syncdb --all" ?

traceback (most recent call last):   file "manage.py", line 10, in <module>     execute_from_command_line(sys.argv)   file "c:\python27\lib\site-packages\django\core\management\__init__.py", line 442, in execute_from_command_line     utility.execute()   file "c:\python27\lib\site-packages\django\core\management\__init__.py", line 381, in execute     self.fetch_command(subcommand).run_from_argv(self.argv)   file "c:\python27\lib\site-packages\django\core\management\base.py", line 195, in run_from_argv     self.execute(*args, **options.__dict__)   file "c:\python27\lib\site-packages\django\core\management\base.py", line 230, in execute     self.validate()   file "c:\python27\lib\site-packages\django\core\management\base.py", line 266, in validate     num_errors = get_validation_errors(s, app)   file "c:\python27\lib\site-packages\django\core\management\validation.py", line 30, in get_validation_errors     (app_name, error) in get_app_errors().items():   file "c:\python27\lib\site-packages\django\db\models\loading.py", line 158, in get_app_errors     self._populate()   file "c:\python27\lib\site-packages\django\db\models\loading.py", line 64, in _populate     self.load_app(app_name, true)   file "c:\python27\lib\site-packages\django\db\models\loading.py", line 88, in load_app     models = import_module('.models', app_name)   file "c:\python27\lib\site-packages\django\utils\importlib.py", line 35, in import_module     __import__(name)   file "c:\python27\lib\site-packages\django_cms-2.2-py2.7.egg\cms\plugins\link\models.py", line 5, in <module>     class link(cmsplugin):   file "c:\python27\lib\site-packages\django_cms-2.2-py2.7.egg\cms\plugins\link\models.py", line 11, in link     url = models.urlfield(_("link"), verify_exists=false, blank=true, null=true)   file "c:\python27\lib\site-packages\django\db\models\fields\__init__.py", line 1265, in __init__     charfield.__init__(self, verbose_name, name, **kwargs)   file "c:\python27\lib\site-packages\django\db\models\fields\__init__.py", line 614, in __init__     super(charfield, self).__init__(*args, **kwargs) typeerror: __init__() got unexpected keyword argument 'verify_exists' 

the verify_exists parameter urlfield deprecated in 1.3.1 security release , removed in current git master (1.5dev). https://docs.djangoproject.com/en/1.4/internals/deprecation/. makes version of django-cms incompatible current master. recommend using stable django release such latest 1.4 rather master.


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -