64 Commits

Author SHA1 Message Date
Elrond
c9c2493435 Reformat render_to_response calls
Just a simple indentation and ordering change, no
functional change.
2011-06-05 16:16:03 +02:00
Elrond
1c63ad5d35 Create render_to_reponse and use it everywhere.
Just a shortcut for Response(render_template(...))
2011-06-05 16:16:03 +02:00
Christopher Allan Webber
b5d3aec615 Moving all views over to using util.render_template()! 2011-06-04 17:36:36 -05:00
Jakob Kramer
3eeadc922a add changes in mediagoblin/submit/views.py 2011-06-02 17:47:53 +02:00
Christopher Allan Webber
16509be160 Update all the views so that they use the uploader reference instead
of uploader embedding
2011-05-22 16:06:45 -05:00
Aaron Williamson
0546833c6e Generate unique slugs for newly submitted images. 2011-05-13 12:18:52 -04:00
Aaron Williamson
bb49e56f8c On image submission, do not require title. If none entered, default to filename. 2011-05-12 23:38:02 -05:00
Sebastian Spaeth
ec61f09492 Fix description submission in form handling
When we submitted an image the description would remain empty. THis was
because of some weird typo in form handling. Get an attribute with
.get('description') and not with .get(['description']). With this patch,
descriptions actually go into the database.

Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
2011-05-09 00:23:12 +02:00
Christopher Allan Webber
fa7f9c6184 Process media! Successfully! 2011-05-06 09:37:24 -05:00
Christopher Allan Webber
03afc828ce Properly require files when users submit 2011-04-23 14:13:33 -05:00
Christopher Allan Webber
204392362f Submission of image works :)
/me pours some sparkling grape juice
2011-04-23 13:29:15 -05:00
Christopher Allan Webber
e21e7bfeb4 Enclose queue_file writing in with statement so that it's closed correctly. 2011-04-23 13:15:09 -05:00
Christopher Allan Webber
f6f524bf59 submit_start written in a way that, by golly, you'd think maybe it'd work 2011-04-23 12:56:01 -05:00
Christopher Allan Webber
e323a06851 Start of the submit view, but not much there quite yet. 2011-04-19 19:05:46 -05:00