Update 'README.md'
This commit is contained in:
11
README.md
11
README.md
@@ -55,11 +55,10 @@ La tua macchina quindi hosta il doodle all indirizzo 127.0.0.1:8080 e si avvia u
|
|||||||
|
|
||||||
|
|
||||||
# DA FARE PER IMPLEMENTARE CENANDOODLE:
|
# DA FARE PER IMPLEMENTARE CENANDOODLE:
|
||||||
|
|
||||||
# [AVVIARE JAWANNDENN CON jwndn.json PRECARICATO]
|
# [AVVIARE JAWANNDENN CON jwndn.json PRECARICATO]
|
||||||
"jawandenn --loaddata file.json" promette di caricare un json precaricato nel doodle ma invece da warnings e errori simili a questi:
|
"jawandenn --loaddata file.json" promette di caricare un json precaricato nel doodle ma invece da warnings e errori simili a questi:
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
WARNINGS:
|
WARNINGS:
|
||||||
jawanndenn.Ballot: (models.W042) Auto-created primary key used when not defining a primary key type, by default 'django.db.models.AutoField'.
|
jawanndenn.Ballot: (models.W042) Auto-created primary key used when not defining a primary key type, by default 'django.db.models.AutoField'.
|
||||||
HINT: Configure the DEFAULT_AUTO_FIELD setting or the AppConfig.default_auto_field attribute to point to a subclass of AutoField, e.g. 'django.db.models.BigAutoField'.
|
HINT: Configure the DEFAULT_AUTO_FIELD setting or the AppConfig.default_auto_field attribute to point to a subclass of AutoField, e.g. 'django.db.models.BigAutoField'.
|
||||||
@@ -67,23 +66,21 @@ La tua macchina quindi hosta il doodle all indirizzo 127.0.0.1:8080 e si avvia u
|
|||||||
Apply all migrations: admin, auth, contenttypes, jawanndenn, sessions
|
Apply all migrations: admin, auth, contenttypes, jawanndenn, sessions
|
||||||
Running migrations:
|
Running migrations:
|
||||||
No migrations to apply.
|
No migrations to apply.
|
||||||
|
|
||||||
Importing JSON dump -- this may take a few seconds...
|
Importing JSON dump -- this may take a few seconds...
|
||||||
System check identified some issues:
|
System check identified some issues:
|
||||||
|
|
||||||
WARNINGS:
|
WARNINGS:
|
||||||
jawanndenn.Ballot: (models.W042) Auto-created primary key used when not defining a primary key type, by default 'django.db.models.AutoField'.
|
jawanndenn.Ballot: (models.W042) Auto-created primary key used when not defining a primary key type, by default 'django.db.models.AutoField'.
|
||||||
HINT: Configure the DEFAULT_AUTO_FIELD setting or the AppConfig.default_auto_field attribute to point to a subclass of AutoField, e.g. 'django.db.models.BigAutoField'.
|
HINT: Configure the DEFAULT_AUTO_FIELD setting or the AppConfig.default_auto_field attribute to point to a subclass of AutoField, e.g. 'django.db.models.BigAutoField'.
|
||||||
File "/home/sco/.local/lib/python3.9/site-packages/django/core/serializers/json.py", line 70, in Deserializer
|
File "/home/$USER/.local/lib/python3.9/site-packages/django/core/serializers/json.py", line 70, in Deserializer
|
||||||
yield from PythonDeserializer(objects, **options)
|
yield from PythonDeserializer(objects, **options)
|
||||||
File "/home/sco/.local/lib/python3.9/site-packages/django/core/serializers/python.py", line 103, in Deserializer
|
File "/home/$USER/.local/lib/python3.9/site-packages/django/core/serializers/python.py", line 103, in Deserializer
|
||||||
Model = _get_model(d["model"])
|
Model = _get_model(d["model"])
|
||||||
TypeError: string indices must be integers
|
TypeError: string indices must be integers
|
||||||
|
|
||||||
The above exception was the direct cause of the following exception:
|
The above exception was the direct cause of the following exception:
|
||||||
|
|
||||||
Traceback (most recent call last):
|
Traceback (most recent call last):
|
||||||
.local/lib/python3.9/site-packages/django/core/serializers/json.py", line 74, in Deserializer
|
"/home/$USER/.local/lib/python3.9/site-packages/django/core/serializers/json.py", line 74, in Deserializer
|
||||||
raise DeserializationError() from exc
|
raise DeserializationError() from exc
|
||||||
django.core.serializers.base.DeserializationError: Problem installing fixture '/home/sco/Cenandoodle/jwndn.json':
|
django.core.serializers.base.DeserializationError: Problem installing fixture '/home/sco/Cenandoodle/jwndn.json':
|
||||||
"Fatayer con Spinaci"
|
"Fatayer con Spinaci"
|
||||||
|
|||||||
Reference in New Issue
Block a user