sh: missing ]
Traceback (most recent call last):
File "/usr/src/assessme/manage.py", line 15, in <module>
execute_from_command_line(sys.argv)
File "/usr/local/lib/python3.9/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
utility.execute()
File "/usr/local/lib/python3.9/site-packages/django/core/management/__init__.py", line 375, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/usr/local/lib/python3.9/site-packages/django/core/management/base.py", line 323, in run_from_argv
self.execute(*args, **cmd_options)
File "/usr/local/lib/python3.9/site-packages/django/core/management/base.py", line 364, in execute
output = self.handle(*args, **options)
File "/usr/local/lib/python3.9/site-packages/django/core/management/commands/flush.py", line 47, in handle
sql_list = sql_flush(self.style, connection, only_django=True,
File "/usr/local/lib/python3.9/site-packages/django/core/management/sql.py", line 16, in sql_flush
seqs = connection.introspection.sequence_list() if reset_sequences else ()
File "/usr/local/lib/python3.9/site-packages/django/db/backends/base/introspection.py", line 118, in sequence_list
sequence_list.extend(self.get_sequences(cursor, model._meta.db_table, model._meta.local_fields))
File "/usr/local/lib/python3.9/site-packages/django/db/backends/sqlite3/introspection.py", line 96, in get_sequences
pk_col = self.get_primary_key_column(cursor, table_name)
File "/usr/local/lib/python3.9/site-packages/django/db/backends/sqlite3/introspection.py", line 196, in get_primary_key_column
raise ValueError("Table %s does not exist" % table_name)
ValueError: Table django_admin_log does not exist
Operations to perform:
Apply all migrations: admin, auth, classroom, contenttypes, sessions
Running migrations:
Applying contenttypes.0001_initial... OK
Applying contenttypes.0002_remove_content_type_name... OK
Applying auth.0001_initial... OK
Applying auth.0002_alter_permission_name_max_length... OK
Applying auth.0003_alter_user_email_max_length... OK
Applying auth.0004_alter_user_username_opts... OK
Applying auth.0005_alter_user_last_login_null... OK
Applying auth.0006_require_contenttypes_0002... OK
Applying auth.0007_alter_validators_add_error_messages... OK
Applying auth.0008_alter_user_username_max_length... OK
Applying auth.0009_alter_user_last_name_max_length... OK
Applying classroom.0001_initial... OK
Applying admin.0001_initial... OK
Applying admin.0002_logentry_remove_auto_add... OK
Applying admin.0003_logentry_add_action_flag_choices... OK
Applying auth.0010_alter_group_name_max_length... OK
Applying auth.0011_update_proxy_permissions... OK
Applying classroom.0002_create_initial_subjects... OK
Applying classroom.0003_quiz_duration... OK
Applying sessions.0001_initial... OK
Installed 37 object(s) from 1 fixture(s)
To test on local environment. clone repo, create virtual env and install requirements then run