MrLoick / app-engine-patch

Automatically exported from code.google.com/p/app-engine-patch
0 stars 0 forks source link

generated_media not updated for media in myapp #250

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. in document root run manage.py startapp myapp2
2. cd to myapp2/media and add two folders, one for images, js
3. start the development server and view the app

What is the expected output? What do you see instead?
I expect the generated_media/1/myapp2 folder to be updated to include both 
the images folder and the js folder, but only the images folder shows up. 
The images render in the view as they should, but the js does not work 
since its not showing in the generated_media folder.  I've followed the 
documentation in using media_generated and adjusted my settings.py file 
accordingly.   

What version of the product are you using? On what operating system?
1RC on windows xp

Please provide any additional information below.

Any help would be appreciated. Thanks!

Original issue reported on code.google.com by MMacK3...@gmail.com on 16 Dec 2009 at 7:45

GoogleCodeExporter commented 8 years ago
I was able to get the javascript files to work after spending a day on it. I 
had to 
download the sample app (the one with Tag=tip) from here: 
http://bitbucket.org/gumptioncom/appenginepatch-sample/downloads/
Then I put my files (images, css and javascript) in css, js, and img folders in 
the 
project root's Media folder. After running manage.py generatemedia, the 
_generated_media & .dynamic_media folders were generated. In the project root's 
settings.py file I added the appropriate references to the new media folders in 
the 
COMBINED_MEDIA settings, and I also noted that the settings.py INSTALLED_APPS 
settings referred to both jquery & blueprintcss apps, which were NOT included 
when I 
downloaded and installed version 1RC. It all seems to work as explained in the 
documentation now. I'm new to django and the app engine, so perhaps I did 
something 
wrong when I downloaded and installed version 1RC, but after carefully 
reviewing what 
I did, I still don't understand why I could not find jquery or blueprintcss 
apps in 
its project folder. Version 1RC seemed well organized and complete, but I could 
not 
get my js files to work and I could not find the apps jquery or blueprintcss 
anyplace. 

Original comment by MMacK3...@gmail.com on 17 Dec 2009 at 3:48