Bonjour,
j'essai d'installer aemanager sous arch j'ai suivi le fichier INSTALL qui n'est pas trés clair/ à jour :)
J'ai du mettre django.db.backends.mysql plutôt que mysql dans settings.py mais surtout lorsque je fait un :
python manage.py migrate
J'ai :
raise AttributeError("You are in a dry run, and cannot access the ORM.\nWrap ORM sections in 'if not db.dry_run:', or if the whole migration is only a data migration, set no_dry_run = True on the Migration class.")
AttributeError: You are in a dry run, and cannot access the ORM.
Wrap ORM sections in 'if not db.dry_run:', or if the whole migration is only a data migration, set no_dry_run = True on the Migration class.
Je ne suis pas pythoniste si quelqu'un peu me donner un coup de main.
Merci …
Bonjour,
j'essai d'installer aemanager sous arch j'ai suivi le fichier INSTALL qui n'est pas trés clair/ à jour :)
J'ai du mettre django.db.backends.mysql plutôt que mysql dans settings.py mais surtout lorsque je fait un :
python manage.py migrate
J'ai :
raise AttributeError("You are in a dry run, and cannot access the ORM.\nWrap ORM sections in 'if not db.dry_run:', or if the whole migration is only a data migration, set no_dry_run = True on the Migration class.")
AttributeError: You are in a dry run, and cannot access the ORM.
Wrap ORM sections in 'if not db.dry_run:', or if the whole migration is only a data migration, set no_dry_run = True on the Migration class.
Je ne suis pas pythoniste si quelqu'un peu me donner un coup de main.
Merci …