q exports question

David Driver <[email protected]>
Newsgroups gmane.comp.web.quixote.user
Message-ID <[email protected]>
I am relative new to Quixote and Druis. I have a question about
organizing URL's and code libraries. As an example say I want to build
an accounting system (this is my typical how can I arrange something
example) From the application root I want to split off into primary
domains with sub modules like:

AppRootDir\
    Model\
        AP\
            Vendor.py
    WebUI\
        SiteRoot.ptl
        AP\
            apRoot.ptl

In WebUI site root I have:


from quixote.directory import Directory
import model 
import AR

class RootDirectory(Directory):

    _q_exports = ["","AR"]

    def _q_index [html] (self):
        '''blablabla'''

    AR = AR.getRootDir()

Is the above assignment (AR=AR.GetRootDir()) going to do weird things
ir is it just assigning an instance variable to the result get root
dir?



-- 

***********************************
See there, that wasn't so bad.
***********************************
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.