Show HN: My first python web app - What do you want to do this year?
thisyr.com
thisyr.com
For the case when the user isn't willing to give access to his/her twitter account.
The error returned is KeyError, since you are trying to access :
user = User.objects.get(username = authorized_tokens['screen_name'])
I see that you have put a try, except blocks. But you are not catching the KeyError exception. You are only making an exception when the user doesn't exist.
you should add a block : except KeyError. And figure out the logic for this particular case. (probably just redirecting the user to the home page)
Anyways, kudos on your first Python app & keep building things!
Also, the design works on mobile but isn't really that aesthetically pleasing with normal screen resolutions.
Getting some errors too: http://i.imgur.com/iLRRG.png
Can I ask what framework you used (if any)? Also, it seems like you're repeating a lot of in-line css, you would really benefit of adding another CSS file.
I'm not a Pythoner but I believe you have debug mode on, was revealing some errors to me.