Closed PettraV closed 9 years ago
I changed all member_profile names to member-profile and it seems it does not work. one of my errors are invalid syntax (views.py, line 47) due to the dash/underscore change...What is actually wrong member_profile underscore in the name? Please advise how to resolve this
What is actually wrong member_profile underscore in the name?
it's ugly, especially in the case where you were mixing underscores with dashes... and given that it's in a URL, dashes are more "user-friendly"... regarding the errors: don't know, but I'm pretty sure there is a very clear error message that explains it all
@PettraV you do know, that not all the "member-page" in these files have to be the same, right? in urls, one of the parameter is what is recognised in the URL when using the app, and the other (where the syntax error is, because python doesn't allow dashes in method names) is a method name, that is called... it might be the same, but doesn't need to be
Thx for the tip, i truly appreciate all your help and dedication!!! My problem problem for the past weeks and following months is that I am very limited with time and I would rather resolve dynamic urls & img in template in that hour that I still have and leave member_profile as it is, as the works. A compromise?
deadlines don't compromise :wink:
but I just do not see 'ugly' as enough strong argument at this point :) and in my opinion I am adjusted with the project as I followed Livke's system with project_detail name :D
good for you :+1:
@PettraV There are other things that should be fixed before we can merge this PR. Less arguing, more following comments :stuck_out_tongue:
@PettraV we can do it together. :tropical_fish: I am trying to work with these branches, still learning, but I have fixed this in my master, see https://github.com/mojcas/TrackCat/compare/CodeCatz:master...master I was struggling (same as you), as it seems it does not work, when the link contains member name (string), but I guess we can use the id.. check it out. Look at
Lets get this fixed and continue with other things. :smile_cat:
@mojcas you nailed it and finish the job, thank you! I used the code from #143
Closing this - it's getting old and outdated, and the comments haven't been addressed.
see http://127.0.0.1:8000/member_page/
138
added view in view.py - any suggestions how to include id, as this would be the best reference? added member_page.html - link to from members page is required modified urls
Thank you