Hi, 
I am new to GCP and I have deployed a toy django app. I am getting the 
following error when I try to access admin page while signing in.

I have added the user/password to the SQL instance. 

Regards
OperationalError at /admin/login/attempt to write a readonly 
databaseRequest Method:
POSTRequest URL:
https://asim800.appspot.com/admin/login/?next=/admin/Django Version:
3.2.7Exception Type:
OperationalErrorException Value:
attempt to write a readonly databaseException Location:
/layers/google.python.pip/pip/lib/python3.8/site-packages/django/db/backends/sqlite3/base.py,
 
line 423, in executePython Executable:
/layers/google.python.pip/pip/bin/python3Python Version:
3.8.12


  1416.              cursor.execute(sql, params)

Local Vars:
VariableValue
cursor
<django.db.backends.utils.CursorDebugWrapper object at 0x3e703e5b37c0>
params
('btqx7y1ekdfpyt7toohi3jurcwo8lb1v', 
'e30:1mV3Q9:Meq3jN8qntWcl1QwRVnq7OVWT_jWP-MkHzsXJD3B5ks', '2021-10-12 
03:04:41.149250')
returning_fields
[]
self
<django.db.models.sql.compiler.SQLInsertCompiler object at 0x3e703e5b3550>
sql
('INSERT INTO "django_session" ("session_key", "session_data", 
"expire_date") ' 'SELECT %s, %s, %s')

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/674d11f9-b9ff-4b1f-9ab2-783c27d351e5n%40googlegroups.com.

Reply via email to