Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

service table migration is not happening #2

Open
suritechiez03 opened this issue Mar 4, 2018 · 0 comments
Open

service table migration is not happening #2

suritechiez03 opened this issue Mar 4, 2018 · 0 comments

Comments

@suritechiez03
Copy link

Environment:

Request Method: GET
Request URL: http://127.0.0.1:8000/admin/microservices/service/

Django Version: 1.11.10
Python Version: 2.7.14
Installed Applications:
['django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'microservices']
Installed Middleware:
['django.middleware.security.SecurityMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.common.CommonMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware']

Traceback:

File "/home/suresh/Documents/microservice/myapp_service_manager/local/lib/python2.7/site-packages/django/core/handlers/exception.py" in inner
41. response = get_response(request)

File "/home/suresh/Documents/microservice/myapp_service_manager/local/lib/python2.7/site-packages/django/core/handlers/base.py" in _get_response
187. response = self.process_exception_by_middleware(e, request)

File "/home/suresh/Documents/microservice/myapp_service_manager/local/lib/python2.7/site-packages/django/core/handlers/base.py" in _get_response
185. response = wrapped_callback(request, *callback_args, **callback_kwargs)

File "/home/suresh/Documents/microservice/myapp_service_manager/local/lib/python2.7/site-packages/django/contrib/admin/options.py" in wrapper
551. return self.admin_site.admin_view(view)(*args, **kwargs)

File "/home/suresh/Documents/microservice/myapp_service_manager/local/lib/python2.7/site-packages/django/utils/decorators.py" in _wrapped_view
149. response = view_func(request, *args, **kwargs)

File "/home/suresh/Documents/microservice/myapp_service_manager/local/lib/python2.7/site-packages/django/views/decorators/cache.py" in _wrapped_view_func
57. response = view_func(request, *args, **kwargs)

File "/home/suresh/Documents/microservice/myapp_service_manager/local/lib/python2.7/site-packages/django/contrib/admin/sites.py" in inner
224. return view(request, *args, **kwargs)

File "/home/suresh/Documents/microservice/myapp_service_manager/local/lib/python2.7/site-packages/django/utils/decorators.py" in _wrapper
67. return bound_func(*args, **kwargs)

File "/home/suresh/Documents/microservice/myapp_service_manager/local/lib/python2.7/site-packages/django/utils/decorators.py" in _wrapped_view
149. response = view_func(request, *args, **kwargs)

File "/home/suresh/Documents/microservice/myapp_service_manager/local/lib/python2.7/site-packages/django/utils/decorators.py" in bound_func
63. return func.get(self, type(self))(*args2, **kwargs2)

File "/home/suresh/Documents/microservice/myapp_service_manager/local/lib/python2.7/site-packages/django/contrib/admin/options.py" in changelist_view
1542. self.list_max_show_all, self.list_editable, self,

File "/home/suresh/Documents/microservice/myapp_service_manager/local/lib/python2.7/site-packages/django/contrib/admin/views/main.py" in init
79. self.get_results(request)

File "/home/suresh/Documents/microservice/myapp_service_manager/local/lib/python2.7/site-packages/django/contrib/admin/views/main.py" in get_results
177. result_count = paginator.count

File "/home/suresh/Documents/microservice/myapp_service_manager/local/lib/python2.7/site-packages/django/utils/functional.py" in get
35. res = instance.dict[self.name] = self.func(instance)

File "/home/suresh/Documents/microservice/myapp_service_manager/local/lib/python2.7/site-packages/django/core/paginator.py" in count
79. return self.object_list.count()

File "/home/suresh/Documents/microservice/myapp_service_manager/local/lib/python2.7/site-packages/django/db/models/query.py" in count
364. return self.query.get_count(using=self.db)

File "/home/suresh/Documents/microservice/myapp_service_manager/local/lib/python2.7/site-packages/django/db/models/sql/query.py" in get_count
499. number = obj.get_aggregation(using, ['__count'])['__count']

File "/home/suresh/Documents/microservice/myapp_service_manager/local/lib/python2.7/site-packages/django/db/models/sql/query.py" in get_aggregation
480. result = compiler.execute_sql(SINGLE)

File "/home/suresh/Documents/microservice/myapp_service_manager/local/lib/python2.7/site-packages/django/db/models/sql/compiler.py" in execute_sql
899. raise original_exception

Exception Type: OperationalError at /admin/microservices/service/
Exception Value: no such table: microservices_service

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant