On 8/26/07, Frederik <[EMAIL PROTECTED]> wrote: > Currently, I try to build a pylons app that stores it's content in xml > files. So I'd like to know where the best place for these files would > be. This is somewhat similar to file-based Wiki data. Is there a > standard place to keep such files?
I would make a subdirectory under the data directory and reference it in the config file. coolapp.data = %(here)s/data/coolapp Don't assume the data directory exists when your component is initialized; you may have to create it (os.makedirs). -- Mike Orr <[EMAIL PROTECTED]> --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en -~----------~----~----~----~------~----~------~--~---
