This short article mainly inform around how to resolve an error message. That error post itself show up in Django-based internet application execution. After developing a Django-based internet project using a certain command and also execute the directly, the error appears. It appear as soon as the action for accessing an deal with with the URL that ‘localhost:8000/admin’ is done. The complying with is the figure of the error in picture :
You are watching: No such table: django_session
How to deal with Error blog post no together table: django_sessionBasically, the error message is “no together table: django_session”. Basically, the error message informing that there is no table through the surname of ‘django_session’. In bespeak to settle the error, the solution is an extremely simple. Simply execute the command for moving the model definition of the Django-based internet application. The following is the command execution to migrate the model meaning into the associated tables and also database :(myenv) c:\python-win\project>python manage.py migrateOperations to perform: apply all migrations: admin, auth, contenttypes, sessionsRunning migrations: using contenttypes.0001_initial... OK applying auth.0001_initial... OK applying admin.0001_initial... OK applying admin.0002_logentry_remove_auto_add... OK using admin.0003_logentry_add_action_flag_choices... OK applying contenttypes.0002_remove_content_type_name... OK using 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 using auth.0006_require_contenttypes_0002... OK using auth.0007_alter_validators_add_error_messages... OK applying auth.0008_alter_user_username_max_length... OK using auth.0009_alter_user_last_name_max_length... OK applying auth.0010_alter_group_name_max_length... OK using auth.0011_update_proxy_permissions... OK applying sessions.0001_initial...
See more: Which Of The Following Is An Example Of Resourcefulness? ? Which Of The Following Is An Example Of
OK(myenv) c:\python-win\project>After properly execute the above command for migrating the database, just accessibility the deal with of the application again. The complying with image will show up :