diff --git a/README.md b/README.md index 5d3586c..ce13a90 100644 --- a/README.md +++ b/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: + # [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: - - WARNINGS: 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'. @@ -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 Running migrations: No migrations to apply. - Importing JSON dump -- this may take a few seconds... System check identified some issues: WARNINGS: 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'. - 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) - 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"]) TypeError: string indices must be integers The above exception was the direct cause of the following exception: - 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 django.core.serializers.base.DeserializationError: Problem installing fixture '/home/sco/Cenandoodle/jwndn.json': "Fatayer con Spinaci"