[pydotorg-www] [Infrastructure] job preview
Carl Karsten
carl at personnelware.com
Sun Jun 8 18:58:22 CEST 2014
On Sun, Jun 8, 2014 at 10:59 AM, anatoly techtonik <techtonik at gmail.com>
wrote:
> On Mon, Jun 2, 2014 at 2:59 PM, M.-A. Lemburg <mal at python.org> wrote:
>
>>
>> Note: Even more better would be to have a preview button in the CMS
>> admin interface for the site. At the moment, we're doing live edits
>> on a production with no means to even undo changes... not exactly
>> state of the art CMS.
>
>
> Reinventing the wheel is fun, right.
>
> Is it more convenient to render content from version control and edit it
> there?
>
isn't this effectively a preview?
https://www.python.org/newjobs/144/review/
kinda on topic, can we get a link back to the admin page?
I use this all over my video processing:
<a href="{% url admin:main_raw_file_change raw_file.id
%}">{{raw_file.filename}}
wrap it in {% if user.is_staff %} or whatever gives someone access to the
admin.
--
Carl K
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pydotorg-www/attachments/20140608/d0d9a8d0/attachment.html>
More information about the pydotorg-www
mailing list