Hi devs,
before I file a bug, small check here:
I squashed my migrations using "./manage.py squashmigrations core 0003"
It squashed all existing 3 migrations, including a runPython migration in 0001.
The resulting migration contains this code:
migrations.RunPython(
code=medux.core.migrations.0001_initial.create_admin_user,
),
Which is not working, as Python complains:
File "/home/christian/Projekte/medux/src/medux/core/migrations/0001_squashed_0003_alter_address_id_alter_addressmapper_id_and_more.py", line 57
code=medux.core.migrations.0001_initial.create_admin_user,
^
SyntaxError: invalid decimal literal
So I suppose that is not intended. Is this a django bug? Should
I file this as issue?
Cheers,
Christian
-- Dr. Christian González https://nerdocs.at
AH, sorry. Just saw it:
# Functions from the following migrations need manual copying. # Move them and any dependencies into this file, then update the # RunPython operations to refer to the local versions: # medux.core.migrations.0001_initial
--
You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-develop...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/286d7666-41eb-12ef-44b5-640993f480c3%40nerdocs.at.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/c38d379d-5253-d70b-9cff-6e4f31616a45%40nerdocs.at.
--
You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-develop...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/207a3a0c-853c-4d8d-bc17-d7da1c2d6953%40nerdocs.at.