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

Added phone field to model for talk proposal (CFP page) #213

Merged
merged 4 commits into from
Mar 6, 2018

Conversation

lpatmo
Copy link
Collaborator

@lpatmo lpatmo commented Mar 1, 2018

@BethanyG and I worked on this PR together. :)

Make sure to makemigrations and migrate.

.gitignore Outdated
@@ -25,6 +25,7 @@ var/
*.egg
symposion
pyenv
pybay/proposals/migrations
Copy link

Choose a reason for hiding this comment

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

Why are you avoiding migrations directory here? Don't we need these?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I assumed everyone would run their own migrations, and that my migrations shouldn't be committed into your migrations.

If I've got this wrong, let me know and I'll back it out! I'm used to manually writing the upgrade scripts.

Copy link

Choose a reason for hiding this comment

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

In fact, tests cannot run because they cannot apply such migration:

django.db.utils.OperationalError: no such column: proposals_talkproposal.phone

Can you please include your migration file?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I've pushed it up.

@PirosB3
Copy link

PirosB3 commented Mar 6, 2018

Thanks Linda! migrations files are used by test runner to setup + teardown tests

@PirosB3 PirosB3 merged commit 28a74b3 into master Mar 6, 2018
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