-
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
Trying to display who posted question. and fix profile pics for questions and profile pages #34
Comments
Note to self: see `view.py` for valid var names for template language, and see `view_question.html`
I stole the formatting for the comments for now see #34
I'm gonna leave that there (reaches bare minimum — you can view who posted a question now) |
please feel very free to update the styling hehe |
I just realised that I think I got the wrong var — the username that shows up next to a post isn't the post creator, it's the user logged in 😂 |
or maybe it's cos the question creators in the db were set to None? will make some more users to test and view |
nah it's showing the username of the user logged in XD |
…n user logged in Latest issue in #34 fixed
now I should check that the profile pic is right (I'm guessing it's mixed up too :P) I think next time i'll separate these into different, smaller issues |
it is mixed up, for comment posters too I think :P |
@ninjaprawn Hi George 😊 I just have a question about the User class in the wait I had a better idea instead to ask — just wait a min |
@ninjaprawn can you check these? :D #34
- Added autofocus for signing page - spaghetti code with profile pics for comments 😬😁👌🤞😛 here’s where you hope nothing explodes 😂 it’s all good if it does tho 👍 - so while jumping from one problem to another, unearthing another problem as I tried to do quick fix for another, this is what I’ve done. for some reason I decided to add a profile_pic column to the comments database (I think because it was complaining to me that I couldn’t access `comment.user.picture` if the comment is empty when technically it was created for no reason arrrgh hehe) - so you can see it is all over the place XD but somehow it looks like its working?? So okay, sure ill take that :P
I |
if there are any problems with using the changes I've made in here, like using |
@ninjaprawn I think I may have made things a little bit harder on your end in the db, with the stuff I did in here... 😅 😂 (hooray! gonna have merge conflicts and i've messed up the flow of how things worked too 😝) |
Running into problems again 😔 XD |
Realised
|
theres a problem with profile pics not defaulting to 'mouser.png' if they have no pic. Ill just make a new issue |
oh, the other day I realised that we can't actually see who posted the question when you view one 🤔
The text was updated successfully, but these errors were encountered: