-
Notifications
You must be signed in to change notification settings - Fork 2
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
Upgrade #66
Upgrade #66
Conversation
no more locals()
not a function anymore
also use builtin HTTPS redirect
@huynhsontung Hey man, I pushed to staging: https://histcg-staging.herokuapp.com/ Got any idea what that is about? I tried running migrations again using |
Hey @Gowiem, it's weird that I don't have this problem locally. This has nothing to do with migrations and just Django fails to import a module. I have updated the python path to this module. Can you try deploying again? |
@huynhsontung Looking solid now. I just did a quick test and I'm liking it. I'm going to copy of the Prod DB to stage and have the site owner give it a run through and then we'll get this merged. Thanks for the hard work! |
@huynhsontung I copied over the prod data to stage and ran migrate w/ fake-initial, but ran into the following:
Seems the site data migrated and is working correctly however... Can you give me some insight into this error and what we need to do to properly properly migrate production when we get to that point? |
@Gowiem Does it happen every time you run migrate (without |
@huynhsontung Yeah, I ran with |
@Gowiem I found the problem and fixed it. Can you try again? |
@huynhsontung That looks to have done the trick -- Thanks for the quick turnaround! |
@huynhsontung While I'm thinking about it, can you do a README update as part of this work? Clear the old README cruft away and start fresh. I'd just like you to provide the high-level docker / compose requirements and workflow that you've been using to accomplish these upgrades so that is up-to-date for any future work. |
@Gowiem Sure I can take a look at README later tonight |
@huynhsontung README looks great -- Thanks for the update! |
@huynhsontung Getting the following error when signing up a new user on Stage. I imagine resetting passwords is broken as well.. Have you seen this? Is this something to do with misconfigured code or the email service we're using? Give me your thoughts and lets get this fixed up - Thanks man. |
@Gowiem Yes this is because the registration backend needs to send activation mail. I believe you don't have mail password for Moreover, the email template is hard-coded to production URL so even when you get the email server working, it will not be able to confirm an account on staging and that account will stay So you resolve this by first setting Hope that helps. |
@huynhsontung Got it -- that makes sense. Thanks for the info! |
Change log
base
app,base
'surls
is now inhistory.historyofcg.urls
0002_initial_data
request
as context to template, template middleware will handle thatrender_to
decorator as it usesrender_to_response
which is deprecatedpassword_change
view overridemanage.py
no longer requires explicitly setting--settings
and will usesettings.development
by defaultPackage removed/replaced