-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New languages #3759
New languages #3759
Conversation
Thanks for reworking your branch! This may generate a migration, we should add that here as well if so. Does |
Thank you! I will try on Monday and let you know.
Just to be sure that I don't make another mistake: all I should do is run
python manage.py makemigrations
...and then see if any migrations are made (and commit & push them if necessary)?
Thanks!
…-Julien
________________________________
દ્વારા: Anthony <notifications@github.com>
મોકલ્યું: 09 માર્ચ 2018 20:28:40
પ્રતિ: rtfd/readthedocs.org
Cc: Julien Malard; Author
વિષય: Re: [rtfd/readthedocs.org] New languages (#3759)
Thanks for reworking your branch! This may generate a migration, we should add that here as well if so. Does makemigrations give a project migration?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#3759 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AKMb6xdS-SMeoaxNdWK4I-KB2K2KBQFLks5tcyxIgaJpZM4SkgBp>.
|
Hello, I can't seem to be able to get a successful migration run on my computer (it says that I need to install packages which I have in fact installed)...any chance you could help me out with the migration? Many thanks, |
@agjohnson Is there a document on how to do this, somewhere? |
@RichardLitt @julienmalard I think the best place to read about this is the Django official documentation at https://docs.djangoproject.com/en/2.0/topics/migrations/ @julienmalard in case you still have problems, please paste the output of the command that it's failing so we can see what it's happening in your side. |
Hello all, Many thanks for your support! I figured out the mistake (seems that some build dependencies were not explicitly listed in the requirements file).
|
@julienmalard oops, it looks like you got all of the field changes in a migration set! Make sure you run the |
This reverts commit 249b194
Hello,
I reverted the commit, ran python manage.py migrate, followed by python manage.py makemigrations. Is it ok now?
Thanks!
-Julien
|
Hrm, that doesn't seem to have helped. There are still a large number of spurious migrations included. |
That is very odd... is there any chance you could clone my fork and then run the migrations on your system, if you think that could work? If there is anything I could do on my system instead, please do let me know.
…-Julien
________________________________
દ્વારા: Anthony <notifications@github.com>
મોકલ્યું: 20 માર્ચ 2018 19:44:21
પ્રતિ: rtfd/readthedocs.org
Cc: Julien Malard; Mention
વિષય: Re: [rtfd/readthedocs.org] New languages (#3759)
Hrm, that doesn't seem to have helped. There are still a large number of spurious migrations included.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#3759 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AKMb6wgwrWBwGw6XrEZVwdj_i9GBUMgLks5tgZRVgaJpZM4SkgBp>.
|
If you can, just create a migration for the |
Better? :) |
Hello, |
Looks like there is a problem with the migration. Can you rebase your branch to the current master and re-generate the migration? Also can you use a named migration? |
Sure, will do that now. (By the way, does the migration have to be done on Python 2, or should it not make a difference?) |
It shouldn't make any difference |
I'm assign this to myself to merge after the migration that is taking place this weekend.
|
Unassigning for now, cleaning this PR up is going to take a bit of work and not something core team can focus on ATM. |
Fixed up this migration, and it should be ready to merge. 👍 |
Codecov Report
@@ Coverage Diff @@
## master #3759 +/- ##
==========================================
+ Coverage 76.39% 76.41% +0.01%
==========================================
Files 158 158
Lines 9980 9988 +8
Branches 1261 1262 +1
==========================================
+ Hits 7624 7632 +8
Misses 2016 2016
Partials 340 340
|
Many thanks! |
I added a few Pakistani and all officially recognised Guatemalan languages. I am submitting a new pull request as I can't seem to be able to rebase my original request (ref #3369) and have a clean working tree.
I hope that this pull request will be acceptable!