Got the following error fresh from baking. Am I missing something?
web_1 | 10.0.2.2 - - [24/Feb/2018 04:52:44] "GET / HTTP/1.1" 500 -
web_1 | Traceback (most recent call last):
web_1 | File "/usr/local/lib/python3.6/site-packages/django/contrib/staticfiles/handlers.py", line 66, in __call__
web_1 | return self.application(environ, start_response)
web_1 | File "/usr/local/lib/python3.6/site-packages/django/core/handlers/wsgi.py", line 146, in __call__
web_1 | response = self.get_response(request)
web_1 | File "/usr/local/lib/python3.6/site-packages/django/core/handlers/base.py", line 81, in get_response
web_1 | response = self._middleware_chain(request)
web_1 | File "/usr/local/lib/python3.6/site-packages/django/core/handlers/exception.py", line 37, in inner
web_1 | response = response_for_exception(request, exc)
web_1 | File "/usr/local/lib/python3.6/site-packages/django/core/handlers/exception.py", line 87, in response_for_exception
web_1 | response = handle_uncaught_exception(request, get_resolver(get_urlconf()), sys.exc_info())
web_1 | File "/usr/local/lib/python3.6/site-packages/django/core/handlers/exception.py", line 122, in handle_uncaught_exception
web_1 | return debug.technical_500_response(request, *exc_info)
web_1 | File "/usr/local/lib/python3.6/site-packages/django_extensions/management/technical_response.py", line 6, in null_technical_500_response
web_1 | six.reraise(exc_type, exc_value, tb)
web_1 | File "/usr/local/lib/python3.6/site-packages/six.py", line 693, in reraise
web_1 | raise value
web_1 | File "/usr/local/lib/python3.6/site-packages/django/core/handlers/exception.py", line 35, in inner
web_1 | response = get_response(request)
web_1 | File "/usr/local/lib/python3.6/site-packages/django/utils/deprecation.py", line 95, in __call__
web_1 | response = self.get_response(request)
web_1 | File "/usr/local/lib/python3.6/site-packages/django/core/handlers/exception.py", line 37, in inner
web_1 | response = response_for_exception(request, exc)
web_1 | File "/usr/local/lib/python3.6/site-packages/django/core/handlers/exception.py", line 87, in response_for_exception
web_1 | response = handle_uncaught_exception(request, get_resolver(get_urlconf()), sys.exc_info())
web_1 | File "/usr/local/lib/python3.6/site-packages/django/core/handlers/exception.py", line 122, in handle_uncaught_exception
web_1 | return debug.technical_500_response(request, *exc_info)
web_1 | File "/usr/local/lib/python3.6/site-packages/django_extensions/management/technical_response.py", line 6, in null_technical_500_response
web_1 | six.reraise(exc_type, exc_value, tb)
web_1 | File "/usr/local/lib/python3.6/site-packages/six.py", line 693, in reraise
web_1 | raise value
web_1 | File "/usr/local/lib/python3.6/site-packages/django/core/handlers/exception.py", line 35, in inner
web_1 | response = get_response(request)
web_1 | File "/usr/local/lib/python3.6/site-packages/django/utils/deprecation.py", line 95, in __call__
web_1 | response = self.get_response(request)
web_1 | File "/usr/local/lib/python3.6/site-packages/django/core/handlers/exception.py", line 37, in inner
web_1 | response = response_for_exception(request, exc)
web_1 | File "/usr/local/lib/python3.6/site-packages/django/core/handlers/exception.py", line 87, in response_for_exception
web_1 | response = handle_uncaught_exception(request, get_resolver(get_urlconf()), sys.exc_info())
web_1 | File "/usr/local/lib/python3.6/site-packages/django/core/handlers/exception.py", line 122, in handle_uncaught_exception
web_1 | return debug.technical_500_response(request, *exc_info)
web_1 | File "/usr/local/lib/python3.6/site-packages/django_extensions/management/technical_response.py", line 6, in null_technical_500_response
web_1 | six.reraise(exc_type, exc_value, tb)
web_1 | File "/usr/local/lib/python3.6/site-packages/six.py", line 693, in reraise
web_1 | raise value
web_1 | File "/usr/local/lib/python3.6/site-packages/django/core/handlers/exception.py", line 35, in inner
web_1 | response = get_response(request)
web_1 | File "/usr/local/lib/python3.6/site-packages/django/utils/deprecation.py", line 95, in __call__
web_1 | response = self.get_response(request)
web_1 | File "/usr/local/lib/python3.6/site-packages/django/core/handlers/exception.py", line 37, in inner
web_1 | response = response_for_exception(request, exc)
web_1 | File "/usr/local/lib/python3.6/site-packages/django/core/handlers/exception.py", line 87, in response_for_exception
web_1 | response = handle_uncaught_exception(request, get_resolver(get_urlconf()), sys.exc_info())
web_1 | File "/usr/local/lib/python3.6/site-packages/django/core/handlers/exception.py", line 122, in handle_uncaught_exception
web_1 | return debug.technical_500_response(request, *exc_info)
web_1 | File "/usr/local/lib/python3.6/site-packages/django_extensions/management/technical_response.py", line 6, in null_technical_500_response
web_1 | six.reraise(exc_type, exc_value, tb)
web_1 | File "/usr/local/lib/python3.6/site-packages/six.py", line 693, in reraise
web_1 | raise value
web_1 | File "/usr/local/lib/python3.6/site-packages/django/core/handlers/exception.py", line 35, in inner
web_1 | response = get_response(request)
web_1 | File "/usr/local/lib/python3.6/site-packages/django/utils/deprecation.py", line 95, in __call__
web_1 | response = self.get_response(request)
web_1 | File "/usr/local/lib/python3.6/site-packages/django/core/handlers/exception.py", line 37, in inner
web_1 | response = response_for_exception(request, exc)
web_1 | File "/usr/local/lib/python3.6/site-packages/django/core/handlers/exception.py", line 87, in response_for_exception
web_1 | response = handle_uncaught_exception(request, get_resolver(get_urlconf()), sys.exc_info())
web_1 | File "/usr/local/lib/python3.6/site-packages/django/core/handlers/exception.py", line 122, in handle_uncaught_exception
web_1 | return debug.technical_500_response(request, *exc_info)
web_1 | File "/usr/local/lib/python3.6/site-packages/django_extensions/management/technical_response.py", line 6, in null_technical_500_response
web_1 | six.reraise(exc_type, exc_value, tb)
web_1 | File "/usr/local/lib/python3.6/site-packages/six.py", line 693, in reraise
web_1 | raise value
web_1 | File "/usr/local/lib/python3.6/site-packages/django/core/handlers/exception.py", line 35, in inner
web_1 | response = get_response(request)
web_1 | File "/usr/local/lib/python3.6/site-packages/django/utils/deprecation.py", line 95, in __call__
web_1 | response = self.get_response(request)
web_1 | File "/usr/local/lib/python3.6/site-packages/django/core/handlers/exception.py", line 37, in inner
web_1 | response = response_for_exception(request, exc)
web_1 | File "/usr/local/lib/python3.6/site-packages/django/core/handlers/exception.py", line 87, in response_for_exception
web_1 | response = handle_uncaught_exception(request, get_resolver(get_urlconf()), sys.exc_info())
web_1 | File "/usr/local/lib/python3.6/site-packages/django/core/handlers/exception.py", line 122, in handle_uncaught_exception
web_1 | return debug.technical_500_response(request, *exc_info)
web_1 | File "/usr/local/lib/python3.6/site-packages/django_extensions/management/technical_response.py", line 6, in null_technical_500_response
web_1 | six.reraise(exc_type, exc_value, tb)
web_1 | File "/usr/local/lib/python3.6/site-packages/six.py", line 693, in reraise
web_1 | raise value
web_1 | File "/usr/local/lib/python3.6/site-packages/django/core/handlers/exception.py", line 35, in inner
web_1 | response = get_response(request)
web_1 | File "/usr/local/lib/python3.6/site-packages/django/utils/deprecation.py", line 95, in __call__
web_1 | response = self.get_response(request)
web_1 | File "/usr/local/lib/python3.6/site-packages/django/core/handlers/exception.py", line 37, in inner
web_1 | response = response_for_exception(request, exc)
web_1 | File "/usr/local/lib/python3.6/site-packages/django/core/handlers/exception.py", line 87, in response_for_exception
web_1 | response = handle_uncaught_exception(request, get_resolver(get_urlconf()), sys.exc_info())
web_1 | File "/usr/local/lib/python3.6/site-packages/django/core/handlers/exception.py", line 122, in handle_uncaught_exception
web_1 | return debug.technical_500_response(request, *exc_info)
web_1 | File "/usr/local/lib/python3.6/site-packages/django_extensions/management/technical_response.py", line 6, in null_technical_500_response
web_1 | six.reraise(exc_type, exc_value, tb)
web_1 | File "/usr/local/lib/python3.6/site-packages/six.py", line 693, in reraise
web_1 | raise value
web_1 | File "/usr/local/lib/python3.6/site-packages/django/core/handlers/exception.py", line 35, in inner
web_1 | response = get_response(request)
web_1 | File "/usr/local/lib/python3.6/site-packages/django/utils/deprecation.py", line 95, in __call__
web_1 | response = self.get_response(request)
web_1 | File "/usr/local/lib/python3.6/site-packages/django/core/handlers/exception.py", line 37, in inner
web_1 | response = response_for_exception(request, exc)
web_1 | File "/usr/local/lib/python3.6/site-packages/django/core/handlers/exception.py", line 87, in response_for_exception
web_1 | response = handle_uncaught_exception(request, get_resolver(get_urlconf()), sys.exc_info())
web_1 | File "/usr/local/lib/python3.6/site-packages/django/core/handlers/exception.py", line 122, in handle_uncaught_exception
web_1 | return debug.technical_500_response(request, *exc_info)
web_1 | File "/usr/local/lib/python3.6/site-packages/django_extensions/management/technical_response.py", line 6, in null_technical_500_response
web_1 | six.reraise(exc_type, exc_value, tb)
web_1 | File "/usr/local/lib/python3.6/site-packages/six.py", line 693, in reraise
web_1 | raise value
web_1 | File "/usr/local/lib/python3.6/site-packages/django/core/handlers/exception.py", line 35, in inner
web_1 | response = get_response(request)
web_1 | File "/usr/local/lib/python3.6/site-packages/django/core/handlers/base.py", line 128, in _get_response
web_1 | response = self.process_exception_by_middleware(e, request)
web_1 | File "/usr/local/lib/python3.6/site-packages/django/core/handlers/base.py", line 126, in _get_response
web_1 | response = wrapped_callback(request, *callback_args, **callback_kwargs)
web_1 | File "/app/main/views.py", line 11, in home
web_1 | c = Visits.objects.get(pk=1)
web_1 | File "/usr/local/lib/python3.6/site-packages/django/db/models/manager.py", line 82, in manager_method
web_1 | return getattr(self.get_queryset(), name)(*args, **kwargs)
web_1 | File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 397, in get
web_1 | num = len(clone)
web_1 | File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 254, in __len__
web_1 | self._fetch_all()
web_1 | File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 1179, in _fetch_all
web_1 | self._result_cache = list(self._iterable_class(self))
web_1 | File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 53, in __iter__
web_1 | results = compiler.execute_sql(chunked_fetch=self.chunked_fetch, chunk_size=self.chunk_size)
web_1 | File "/usr/local/lib/python3.6/site-packages/django/db/models/sql/compiler.py", line 1064, in execute_sql
web_1 | cursor.execute(sql, params)
web_1 | File "/usr/local/lib/python3.6/site-packages/django/db/backends/utils.py", line 100, in execute
web_1 | return super().execute(sql, params)
web_1 | File "/usr/local/lib/python3.6/site-packages/django/db/backends/utils.py", line 68, in execute
web_1 | return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
web_1 | File "/usr/local/lib/python3.6/site-packages/django/db/backends/utils.py", line 77, in _execute_with_wrappers
web_1 | return executor(sql, params, many, context)
web_1 | File "/usr/local/lib/python3.6/site-packages/django/db/backends/utils.py", line 85, in _execute
web_1 | return self.cursor.execute(sql, params)
web_1 | File "/usr/local/lib/python3.6/site-packages/django/db/utils.py", line 89, in __exit__
web_1 | raise dj_exc_value.with_traceback(traceback) from exc_value
web_1 | File "/usr/local/lib/python3.6/site-packages/django/db/backends/utils.py", line 85, in _execute
web_1 | return self.cursor.execute(sql, params)
web_1 | django.db.utils.ProgrammingError: relation "main_visits" does not exist
web_1 | LINE 1: ...CT "main_visits"."id", "main_visits"."count" FROM "main_visi...
web_1 |