aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/edit/views.py
Commit message (Collapse)AuthorAgeFilesLines
...
* Reformat render_to_response callsElrond2011-06-051-5/+4
| | | | | Just a simple indentation and ordering change, no functional change.
* Create render_to_reponse and use it everywhere.Elrond2011-06-051-5/+4
| | | | Just a shortcut for Response(render_template(...))
* Moving all views over to using util.render_template()!Christopher Allan Webber2011-06-041-5/+4
|
* Let's redirect back to the media homepage using the slug instead of the idChristopher Allan Webber2011-06-041-1/+1
|
* I shouldn't have removed the .save() entirely :)Christopher Allan Webber2011-06-041-0/+1
|
* Find out if such a slug exists via a query instead of via a .save() callChristopher Allan Webber2011-06-031-12/+19
|
* Add GNU headers to new *.pyElrond2011-06-021-0/+15
|
* Handle Exceptions from save(); Move may_edit_mediaElrond2011-06-021-10/+5
| | | | | | | | Turn .save() excpetions into a HTTPConflict. Not nice, but at least the user gets the error. Until there is a proper way to validate things and get nice errors. Move may_edit_media() to lib.py, as it's not a view.
* Prepare for moving /edit/ under /u/.../edit/Elrond2011-06-021-2/+2
| | | | | To make moving the whole thing under /u/ easier, prepare to pass in the {user} needed for that.
* Check for edit permission.Elrond2011-06-021-0/+13
| | | | | You need to own the media, or be an admin to use the edit form. As simple as that, for now.
* "edit": Finally implement saving.Elrond2011-05-271-1/+12
| | | | | | Currently no checks. Probably not so good. And especially, every logged in user currently can edit the data for any other user's media.
* Starting "edit" functionality.Elrond2011-05-261-0/+23
This adds a link to the "edit" form, the form, the view for displaying the form and that's about it.