Skip to content
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

remove populate_icon_from_ohloh #1530

Merged
merged 1 commit into from Mar 19, 2015

Conversation

arindampradhan
Copy link
Contributor

fix for #1524
Do recommend changes if required.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.13%) to 75.05% when pulling 922704e on arindampradhan:ohloh_icon into db98e6f on openhatch:master.

model_project.populate_icon_from_ohloh()
# We know this is unsafe.
# If this fails, it might be because
# populate_icon_from_ohloh doesn't exist anymore.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Generally, you shouldn't modify anything in a migrations directory, as all the contents there are auto-generated by South for Django apps that are older than Django 1.7. Instead, use South to do a migration on the command line, which will add a migration file (to be git committed): http://south.readthedocs.org/en/latest/tutorial/part1.html

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@onceuponatimeforever , on #1524, you can see why I changed the migrations in django, those are custom migrations and needed to be changed after I had removed populate_icon_from_ohloh() else would have caused AttributeError .
On an other note I don't know if I should add a migration.. It seemed to pass the tests.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you run a migration to see if any new migration files get generated?

@ArcTanSusan
Copy link
Contributor

LGTM 🍎 Looks like there are no additional migrations needed.

ArcTanSusan added a commit that referenced this pull request Mar 19, 2015
@ArcTanSusan ArcTanSusan merged commit 7770cc1 into openhatch:master Mar 19, 2015
@arindampradhan
Copy link
Contributor Author

Thanks :D @onceuponatimeforever

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants