Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Message from discussion app-engine-patch 1.0 released! Django admin, media generator, self-contained apps
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Konrad Martin  
View profile  
 More options Apr 9, 2:47 pm
From: Konrad Martin <konrad...@gmail.com>
Date: Thu, 9 Apr 2009 11:47:41 -0700 (PDT)
Local: Thurs, Apr 9 2009 2:47 pm
Subject: Re: app-engine-patch 1.0 released! Django admin, media generator, self-contained apps
Hi yamandu,

in my view media handling of app-engine-patch has got simple and
convincing targets:

1.
Working locally the tricky app-engine-patch url is mapped to the
folders called 'media'. You only have to put your media (jpg, png, css
etc) there.

Working locally don't care for _generated_media. You don't need them
(even if the request url contains their folder names, locally they are
remapped to the media folders mentioned.)

2.
Working on the web css and js media are compressed, combinded and all
media placed into the _generated_media folders, to stay within Googles
file limits. These folders are rewritten automatically each time you
upload your code with manage.py update.

When uploading you may have to leave the _generated_media folder that
app-engine-patch can delete and rewrite it. Otherwise you may end
without content in that folder.

You can view this process in action when you play around with my
sample
http://benchstat.appspot.com/fileHost/09/04/08/staticDemo.zip
which looks like this sreenshot
http://benchstat.appspot.com/fileHost/09/04/08/StaticDemo.jpg

Don't try to invent your own request urls, use the app-engine-patch
form of request urls (see example), only they work both on the web and
locally.

If you put your media into the prepared folders called 'media', use
the right form of request url and CombinedMedia (see example) than the
whole magic should work automatically.

Konrad


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google