[pydotorg-www] Help with porting content: need some basic documentation

M.-A. Lemburg mal at egenix.com
Sat Feb 22 14:45:49 CET 2014


On 21.02.2014 20:29, Brian Curtin wrote:
> On Fri, Feb 21, 2014 at 1:21 PM, M.-A. Lemburg <mal at egenix.com> wrote:
>> Several pages on the new website are lacking images and the menus
>> don't like to all the ported pages.
>>
>> Could someone please provide information on:
>>
>>  * where to place images for pages
>>
>>  * how to adjust the menus to include the ported, but not yet
>>    linked pages ?
> 
> I asked about the images, so I'm not sure myself.

Thanks. I suppose they have to go into the repo, rather than be
added through the Django admin:

https://github.com/python/pythondotorg/tree/master/static

While this is a common approach, it is also somewhat cumbersome
when adding new content with embedded images.

> As for adjusting menus, they're set within the sitetree on the admin.
> I guess you need to be careful, though, because some menus link
> directly to pages, and some are apparently "apps". I dont really know
> anything about Django, but I screwed up the success stories by not
> knowing this difference...or something like that.

Ok, I found that entry in the admin. Apparently changes to the
sitetree take a longer while to actually make it through to
the site. Looks like there's some heavy caching going on.

There is indeed a lot of generating going on on the site. The
templates for those generated pages can be found in the repo
as well:

https://github.com/python/pythondotorg/tree/master/templates

I guess to be fully productive in maintaining the site, we'll
need to give more people access to the repo.

-- 
Marc-Andre Lemburg
eGenix.com

Professional Python Services directly from the Source  (#1, Feb 22 2014)
>>> Python Projects, Consulting and Support ...   http://www.egenix.com/
>>> mxODBC.Zope/Plone.Database.Adapter ...       http://zope.egenix.com/
>>> mxODBC, mxDateTime, mxTextTools ...        http://python.egenix.com/
________________________________________________________________________
2014-02-12: Released mxODBC.Connect 2.0.4 ...     http://egenix.com/go53

::::: Try our mxODBC.Connect Python Database Interface for free ! ::::::

   eGenix.com Software, Skills and Services GmbH  Pastor-Loeh-Str.48
    D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg
           Registered at Amtsgericht Duesseldorf: HRB 46611
               http://www.egenix.com/company/contact/


More information about the pydotorg-www mailing list