django cms - python manage.py runserver 127.0.0.1:80 -


traceback (most recent call last):   file "manage.py", line 28, in <module>     execute_from_command_line(sys.argv)   file "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", line 443, in execute_from_command_line     utility.execute()   file "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", line 382, in execute     self.fetch_command(subcommand).run_from_argv(self.argv)   file "/usr/local/lib/python2.7/dist-packages/django/core/management/base.py", line 196, in run_from_argv     self.execute(*args, **options.__dict__)   file "/usr/local/lib/python2.7/dist-packages/django/core/management/base.py", line 231, in execute     self.validate()   file "/usr/local/lib/python2.7/dist-packages/django/core/management/base.py", line 266, in validate     num_errors = get_validation_errors(s, app)   file "/usr/local/lib/python2.7/dist-packages/django/core/management/validation.py", line 30, in get_validation_errors     (app_name, error) in get_app_errors().items():   file "/usr/local/lib/python2.7/dist-packages/django/db/models/loading.py", line 158, in get_app_errors     self._populate()   file "/usr/local/lib/python2.7/dist-packages/django/db/models/loading.py", line 64, in _populate     self.load_app(app_name, true)   file "/usr/local/lib/python2.7/dist-packages/django/db/models/loading.py", line 88, in load_app     models = import_module('.models', app_name)   file "/usr/local/lib/python2.7/dist-packages/django/utils/importlib.py", line 35, in import_module     __import__(name)   file "/usr/local/lib/python2.7/dist-packages/cartridge/shop/models.py", line 411, in <module>     class order(models.model):   file "/usr/local/lib/python2.7/dist-packages/cartridge/shop/models.py", line 422, in order     billing_detail_country = foreignkey(category, verbose_name = _("state/region"),  related_name='order', limit_choices_to={ "parent":category.objects.get(slug='regions') }, blank=true, null=true)   file "/usr/local/lib/python2.7/dist-packages/django/db/models/manager.py", line 131, in     return self.get_query_set().get(*args, **kwargs)   file "/usr/local/lib/python2.7/dist-packages/django/db/models/query.py", line 361, in     num = len(clone)   file "/usr/local/lib/python2.7/dist-packages/django/db/models/query.py", line 85, in __len__     self._result_cache = list(self.iterator())   file "/usr/local/lib/python2.7/dist-packages/django/db/models/query.py", line 291, in iterator     row in compiler.results_iter():   file "/usr/local/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 763, in results_iter     rows in self.execute_sql(multi):   file "/usr/local/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 818, in execute_sql     cursor.execute(sql, params)   file "/usr/local/lib/python2.7/dist-packages/django/db/backends/util.py", line 40, in execute     return self.cursor.execute(sql, params)   file "/usr/local/lib/python2.7/dist-packages/django/db/backends/sqlite3/base.py", line 344, in execute     return database.cursor.execute(self, query, params) django.db.utils.databaseerror: no such table: shop_category 

hello. python manage.py runserver 127.0.0.1:80 not running on server.

in mysql table shop_category present. in settings.py name db, login , password configured. syncdb not solved problem.

databases = {     'default': {         'engine': 'django.db.backends.mysql', 


Comments

Popular posts from this blog

javascript - Count length of each class -

What design pattern is this code in Javascript? -

hadoop - Restrict secondarynamenode to be installed and run on any other node in the cluster -