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

Add running ./manage.py migrate --run-syncdb to README #32

Open
wants to merge 1 commit into
base: team-wiki
Choose a base branch
from

Conversation

adamfeldman
Copy link

Fixes issues with the team-wiki application not working (specifically the profiles app as well as pinax-wiki)

Fixes issues with the team-wiki application not working (specifically the profiles app as well as pinax-wiki)
@jtauber
Copy link
Member

jtauber commented Sep 26, 2016

Is this the right fix or should we fix something else that's requiring the --run-syncdb ?

@adamfeldman
Copy link
Author

@jtauber I am not sure what the root issue was. I am copying below further details I wrote in the #help Pinax Slack channel from earlier today https://pinax.slack.com/archives/help/p1474850003000039.

"I am working on getting the team-wiki project running. Have been fixing and documenting issues on my own, to share fixes later. I’ve run into an issue I am having trouble with: team-wiki’s profiles app, and the wiki app itself (installed as a dependency) are not triggering any migrations

[7:34]
At least I think that’s the root issue. The traceback is telling me that ** relation "profiles_profile" does not exist ** and similar for wiki

[7:36]
I’ve tried running python manage.py makemigrations and migrate every which way and they say there are no migrations for either the wiki or profiles apps. Pardon me for not having touched Django for awhile, but won’t every model that involves relations trigger migrations to be done?

adamfeldman [7:45 PM]
Annnnd rubber duck debugging strikes again! python manage.py migrate --run-syncdb moved me on to the next broken bit to solve"

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.

2 participants