I like to symlink my 'static' folder to the DocumentRoot of apache, then 
you can update your svn repo and the static files are serverd.

Gremmie wrote:
> On Sep 4, 10:10 am, Robert Dailey <[EMAIL PROTECTED]> wrote:
>   
>> Hi,
>>
>> First, let me start by explaining what my goals are:
>> - Have a django project & its apps in version control
>> - Have all of the templates the apps will use in the same version
>> control
>> - Have all static content (images, css, etc) in the same version
>> control.
>>
>> So far, this is the directory structure I've come up with:
>>
>>     
> [snip]
>   
>> Is this a good structure? Using this structure, I can work on
>> everything involved in making my website through a single working copy
>> in Subversion. Do you guys have any better suggestions? My main
>> concern with the structure I presented above is how I will configure
>> Apache2 to handle serving static content. Also, the fact that Django
>> requires an absolute path for the templates directory makes this more
>> of a management nightmare.
>>     
>
> It seems reasonable to me. I do something similar. I just deploy
> certain directories differently on my production server that uses
> Apache. As I mentioned in another post here, I have conditional logic
> in my settings.py files to set paths accordingly.
> >
>
>   


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to