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

Feature: add migrate command to djangomod #50083

Merged
merged 4 commits into from
Oct 23, 2018

Conversation

jrbeilke
Copy link

What does this PR do?

Adds support for Django CLI's migrate command.

The syncdb command was deprecated in Django 1.7 in favor of a new migrate command (https://docs.djangoproject.com/en/2.1/releases/1.7/#schema-migrations), and syncdb was removed in Django 1.9

What issues does this PR fix or reference?

#16674

Tests written?

Yes

Commits signed with GPG?

No

Copy link
Contributor

@rallytime rallytime left a comment

Choose a reason for hiding this comment

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

Welcome @jrbeilke! Thank you for submitting this fix and for writing those tests.

I have one documentation request. Can you add a .. versionadded:: Neon tag to the docs of this new function and also document all of the args/kwargs individually? Then we can give this another review.

@jrbeilke
Copy link
Author

Done and done!

@rallytime rallytime requested a review from gtmanfred October 17, 2018 20:23
Copy link
Contributor

@gtmanfred gtmanfred left a comment

Choose a reason for hiding this comment

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

nice, looks great

just one docs nit pick.

salt/modules/djangomod.py Show resolved Hide resolved
@cachedout
Copy link
Contributor

@gtmanfred Can you re-review this please?

@rallytime rallytime merged commit 20c5949 into saltstack:develop Oct 23, 2018
garethgreenaway added a commit to garethgreenaway/salt that referenced this pull request Sep 19, 2019
dwoz added a commit that referenced this pull request Jan 2, 2020
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.

4 participants