MacBook-Pro-von-Rene local_fishing % python3 manage.py makemigrations
Traceback (most recent call last):
File âLibrary/Python/3.8/lib/python/site-packages/django/db/backends/utils.pyâ, line 84, in _execute
return self.cursor.execute(sql, params)
File âLibrary/Python/3.8/lib/python/site-packages/django/db/backends/sqlite3/base.pyâ, line 423, in execute
return Database.Cursor.execute(self, query, params)
sqlite3.OperationalError: no such column: fishing_waters_waters.follower
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File âmanage.pyâ, line 22, in
main()
File âmanage.pyâ, line 18, in main
execute_from_command_line(sys.argv)
File âLibrary/Python/3.8/lib/python/site-packages/django/core/management/init.pyâ, line 419, in execute_from_command_line
utility.execute()
File âLibrary/Python/3.8/lib/python/site-packages/django/core/management/init.pyâ, line 413, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File âLibrary/Python/3.8/lib/python/site-packages/django/core/management/base.pyâ, line 354, in run_from_argv
self.execute(*args, **cmd_options)
File âLibrary/Python/3.8/lib/python/site-packages/django/core/management/base.pyâ, line 393, in execute
self.check()
File âLibrary/Python/3.8/lib/python/site-packages/django/core/management/base.pyâ, line 419, in check
all_issues = checks.run_checks(
File âLibrary/Python/3.8/lib/python/site-packages/django/core/checks/registry.pyâ, line 76, in run_checks
new_errors = check(app_configs=app_configs, databases=databases)
File âLibrary/Python/3.8/lib/python/site-packages/django/core/checks/urls.pyâ, line 13, in check_url_config
return check_resolver(resolver)
File âLibrary/Python/3.8/lib/python/site-packages/django/core/checks/urls.pyâ, line 23, in check_resolver
return check_method()
File âLibrary/Python/3.8/lib/python/site-packages/django/urls/resolvers.pyâ, line 416, in check
for pattern in self.url_patterns:
File âLibrary/Python/3.8/lib/python/site-packages/django/utils/functional.pyâ, line 48, in get
res = instance.dict[self.name] = self.func(instance)
File âLibrary/Python/3.8/lib/python/site-packages/django/urls/resolvers.pyâ, line 602, in url_patterns
patterns = getattr(self.urlconf_module, âurlpatternsâ, self.urlconf_module)
File âLibrary/Python/3.8/lib/python/site-packages/django/utils/functional.pyâ, line 48, in get
res = instance.dict[self.name] = self.func(instance)
File âLibrary/Python/3.8/lib/python/site-packages/django/urls/resolvers.pyâ, line 595, in urlconf_module
return import_module(self.urlconf_name)
File â/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/importlib/init.pyâ, line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File ââ, line 1014, in _gcd_import
File ââ, line 991, in _find_and_load
File ââ, line 975, in _find_and_load_unlocked
File ââ, line 671, in _load_unlocked
File ââ, line 783, in exec_module
File ââ, line 219, in _call_with_frames_removed
File âDocuments/Projekt Django/local_fishing/local_fishing/urls.pyâ, line 11, in
path(âgewaesser/â, include(âfishing_waters.urlsâ)),
File âLibrary/Python/3.8/lib/python/site-packages/django/urls/conf.pyâ, line 34, in include
urlconf_module = import_module(urlconf_module)
File â/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/importlib/init.pyâ, line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File ââ, line 1014, in _gcd_import
File ââ, line 991, in _find_and_load
File ââ, line 975, in _find_and_load_unlocked
File ââ, line 671, in _load_unlocked
File ââ, line 783, in exec_module
File ââ, line 219, in _call_with_frames_removed
File âDocuments/Projekt Django/local_fishing/fishing_waters/urls.pyâ, line 2, in
from . import views
File âDocuments/Projekt Django/local_fishing/fishing_waters/views.pyâ, line 148, in
class WaterOverviewView(View):
File âDocuments/Projekt Django/local_fishing/fishing_waters/views.pyâ, line 154, in WaterOverviewView
for entry in Waters.objects.all():
File âLibrary/Python/3.8/lib/python/site-packages/django/db/models/query.pyâ, line 280, in iter
self._fetch_all()
File âLibrary/Python/3.8/lib/python/site-packages/django/db/models/query.pyâ, line 1324, in _fetch_all
self._result_cache = list(self._iterable_class(self))
File âLibrary/Python/3.8/lib/python/site-packages/django/db/models/query.pyâ, line 51, in iter
results = compiler.execute_sql(chunked_fetch=self.chunked_fetch, chunk_size=self.chunk_size)
File âLibrary/Python/3.8/lib/python/site-packages/django/db/models/sql/compiler.pyâ, line 1175, in execute_sql
cursor.execute(sql, params)
File âLibrary/Python/3.8/lib/python/site-packages/django/db/backends/utils.pyâ, line 98, in execute
return super().execute(sql, params)
File âLibrary/Python/3.8/lib/python/site-packages/django/db/backends/utils.pyâ, line 66, in execute
return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
File âLibrary/Python/3.8/lib/python/site-packages/django/db/backends/utils.pyâ, line 75, in _execute_with_wrappers
return executor(sql, params, many, context)
File âLibrary/Python/3.8/lib/python/site-packages/django/db/backends/utils.pyâ, line 84, in _execute
return self.cursor.execute(sql, params)
File âLibrary/Python/3.8/lib/python/site-packages/django/db/utils.pyâ, line 90, in exit
raise dj_exc_value.with_traceback(traceback) from exc_value
File âLibrary/Python/3.8/lib/python/site-packages/django/db/backends/utils.pyâ, line 84, in _execute
return self.cursor.execute(sql, params)
File âLibrary/Python/3.8/lib/python/site-packages/django/db/backends/sqlite3/base.pyâ, line 423, in execute
return Database.Cursor.execute(self, query, params)
django.db.utils.OperationalError: no such column: fishing_waters_waters.follower