justinvh / gitpaste

DEPRECATED - GitPaste is a clone of GitHub's Gist.
Other
184 stars 49 forks source link

'All Pastes' now actually shows all pastes. #23

Closed elementalvoid closed 11 years ago

elementalvoid commented 11 years ago

The 'All Pastes' page was only showing public anonymous pastes. No user pastes were showing up. We now show all public pastes plus the user's own private pastes.

Also, updated the urls mapping and link to 'All Pastes' in the base template.

Closes #22

Additionally, the view now catches the case where a non-existent user's pastes were requested and renders the user-pastes template with no content. Not the ideal, but better than a Django error page.