Fix werkzeug cannot import name 'safe_str_cmp' & circular imports#30
Fix werkzeug cannot import name 'safe_str_cmp' & circular imports#305t33 wants to merge 3 commits intojuriansluiman:masterfrom
Conversation
- refactor to use flask bluebird to fix circular dependency issue - add .vscode to .gitignore
| function profile() { | ||
| let form = document.getElementById('profile-form') | ||
| form.addEventListener('submit', function(event) { | ||
| let uri = '{{ url_for('profile') }}' |
There was a problem hiding this comment.
This was causing the settings page to error-out completely. I see that there was already an issue with the settings page, which I'm guessing is because there isn't a profile page or a profile.html template. So, I'm thinking the best path forward is to create the page or template?
| <td></td> | ||
| <td> | ||
| <a class="ui labeled icon button" href="{{ url_for('recipes', schedule='24-3-2020') }}"> | ||
| <a class="ui labeled icon button" href="{{ url_for('main.recipes', schedule='24-3-2020') }}"> |
There was a problem hiding this comment.
each of these changes is related to using blueprint here:
https://github.com/juriansluiman/groceri.es/pull/30/files#diff-0c2bad94cd303c5944a38a94f62a63355b8bed2e102dc87c0f44de95cf135b8aR26
|
Still QAing this. Doesn't look like I'm able to add a pantry section. Edit - that seems to be expected. That part looks unfinished. |
|
This should be good to go. I was able to create a new recipe successfully. LMK what you think, @juriansluiman. :) |
related Issues:
#29
#28
#19