[pydotorg-www] [Infrastructure] job preview

M.-A. Lemburg mal at python.org
Mon Jun 9 13:02:54 CEST 2014


[- cross posts]

On 08.06.2014 18:58, Carl Karsten wrote:
> 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?

Well, with preview I meant a way to check the current edit without
actually changing the page (just yet).

>  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.

-- 
Marc-Andre Lemburg
Director
Python Software Foundation
http://www.python.org/psf/


More information about the pydotorg-www mailing list