[portland] OS Bridge proposal date extended

kirby urner kirby.urner at gmail.com
Thu Apr 2 07:59:53 CEST 2009


Thanks Dylan, plus to those replying off list.

I'm trying to wrap an old static HTML website in Django such that I
don't have to change relative paths to images in subdirectories that
won't really be there anymore.  I'm wanting all URLs from the outside
world to stay the same as well i.e. all the old links will work as is.

http://www.4dsolutions.net/ocn/cp4e.html will now point to
http://www.4dsolutions.net/controlroom/ocn/old/archive/cp4e.html under
the hood, with the later containing <img src="graphics/pix.png"> tags
that need to be statically served from controlroom/media/ocn/graphics
-- that kind of thing.

Kind of a hack maybe, an exercise.  The idea is new content would take
advantage of the framework more, but this is a way of grandfathering
in what's at the site already, basically with no changes.

Kirby


On Wed, Apr 1, 2009 at 5:12 PM, Dylan Reinhardt
<python at dylanreinhardt.com> wrote:
> This might help:
>
> http://docs.djangoproject.com/en/1.0/howto/static-files/
>
> HTH,
>
> Dylan
>
>
> On Wed, Apr 1, 2009 at 4:59 PM, kirby urner <kirby.urner at gmail.com> wrote:
>
>> Django is driving me nuts I have to admit.  It's the static media bit.
>>  It's all on my Ubuntu laptop so if someone wants to show me where I'm
>> going wrong, the bagels are on me... (I had it working but then
>> decided to move directories around...).  Write me off list maybe.  I
>> live near the Bagdad.
>>
>> Yeah, more Python talks would be good.  I'm not altogether clear what
>> the audience will be like but I think there's always room for "just
>> the basics" i.e. a good old fashioned tutorial that doesn't go too
>> fast.  I know we're into test driven development but I think doctest
>> is sufficient with noobs.  Indeed, Python pedagogy is effective
>> because interactive...
>>
>> I could see PPUG offering a standard once month free class with
>> rotating presenter, then spin-off more advanced topic classes that fly
>> when they fill, sort of Saturday Academy still.  Having something like
>> a fixed schedule for the free ones, then scrambling amongst ourselves
>> to always have an instructor, would be a fun way to make PPUG a
>> stronger glue maybe.    Just a thought.
>>
>> Kirby
>> _______________________________________________
>> Portland mailing list
>> Portland at python.org
>> http://mail.python.org/mailman/listinfo/portland
>>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://mail.python.org/pipermail/portland/attachments/20090401/a977a3dd/attachment.htm>
> _______________________________________________
> Portland mailing list
> Portland at python.org
> http://mail.python.org/mailman/listinfo/portland
>


More information about the Portland mailing list