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

Create initial migration #4

Open
prokaktus opened this issue May 31, 2016 · 0 comments
Open

Create initial migration #4

prokaktus opened this issue May 31, 2016 · 0 comments
Labels

Comments

@prokaktus
Copy link

After installing app, if I ran:

$ ./manage.py makemigrations
    No changes detected

This is because every app should have initial migration after Django 1.6. So, I should explicitly ran makemigrations with the app label:

$ ./manage.py makemigrations djangoseo
Migrations for 'djangoseo':
  0001_initial.py:
    - Create model EntryMetadataModel
    - Create model EntryMetadataModelInstance
    - Create model EntryMetadataPath
    - Create model EntryMetadataView
    - Alter unique_together for entrymetadataview (1 constraint(s))
    - Alter unique_together for entrymetadatapath (1 constraint(s))
    - Alter unique_together for entrymetadatamodelinstance (2 constraint(s))
    - Alter unique_together for entrymetadatamodel (1 constraint(s))
@prokaktus prokaktus added the bug label May 31, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant