Closed TLuesebrinck closed 2 years ago
Can you share when this error occurred?
python manage.py migrate Running migrations: . . Applying frontend_forms.0002_auto_20220429_1150...Traceback (most recent call last):
There were buggy migrations in 0.9.2. I've yanked the release. Please use 0.9.3. Thank you for pointing this out!
I still have problems with the fontend_forms:
Successfully installed djangocms-frontend-0.9.3
(env) PS > python manage.py migrate
Traceback (most recent call last):
File ".\manage.py", line 22, in
Am Di., 10. Mai 2022 um 21:55 Uhr schrieb Fabian Braun < @.***>:
Closed #31 https://github.com/django-cms/djangocms-frontend/issues/31.
— Reply to this email directly, view it on GitHub https://github.com/django-cms/djangocms-frontend/issues/31#event-6584785307, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWMV5NUMSG666QEYMC2RSTLVJK5M3ANCNFSM5VRZX32Q . You are receiving this because you authored the thread.Message ID: @.***>
There seem to be leftover migrations from 0.9.2. Can you try uninstall and then reinstall 0.9.3?
Is it possible that frontend_forms.0003_merge_0002_auto_20220429_1150_0002_auto_20220510_12
was created locally somewhere in the process? If so, please delete. Each frontend app should only have an initial migration.
how can I delete this? is it a file? where it is located?
Am Mi., 11. Mai 2022 um 12:15 Uhr schrieb Fabian Braun < @.***>:
There seem to be leftover migrations from 0.9.2. Can you try uninstall and then reinstall 0.9.3?
Is it possible that frontend_forms.0003_merge_0002_auto_20220429_1150_0002_auto_20220510_12 was created locally somewhere in the process? If so, please delete. Each frontend app should only have an initial migration.
— Reply to this email directly, view it on GitHub https://github.com/django-cms/djangocms-frontend/issues/31#issuecomment-1123513870, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWMV5NVDGMO462LWQ5NIA7DVJOCDNANCNFSM5VRZX32Q . You are receiving this because you authored the thread.Message ID: @.***>
ok found it. After deleting the old migration file it works fine.
Am Mi., 11. Mai 2022 um 13:13 Uhr schrieb Thiemo Lüsebrinck < @.***>:
how can I delete this? is it a file? where it is located?
Am Mi., 11. Mai 2022 um 12:15 Uhr schrieb Fabian Braun < @.***>:
There seem to be leftover migrations from 0.9.2. Can you try uninstall and then reinstall 0.9.3?
Is it possible that frontend_forms.0003_merge_0002_auto_20220429_1150_0002_auto_20220510_12 was created locally somewhere in the process? If so, please delete. Each frontend app should only have an initial migration.
— Reply to this email directly, view it on GitHub https://github.com/django-cms/djangocms-frontend/issues/31#issuecomment-1123513870, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWMV5NVDGMO462LWQ5NIA7DVJOCDNANCNFSM5VRZX32Q . You are receiving this because you authored the thread.Message ID: @.***>
That's good news! 👍
File "..\env\lib\site-packages\django\db\migrations\operations\models.py", line 264, in state_forwards
state.remove_model(app_label, self.name_lower) File "..\env\lib\site-packages\django\db\migrations\state.py", line 98, in remove_model del self.models[app_label, model_name] KeyError: ('frontend_forms', 'captchafield')
Is it something new in version 0.9.2 or did I broke something, it worked before with build 0.9.1