Re: [Paste] paster quickstart?

Top Page
Author: Ian Bicking
Date:  
To: Lukasz Szybalski
CC: paste-users
Subject: Re: [Paste] paster quickstart?
Lukasz Szybalski wrote:
> http://lucasmanual.com/mywiki/Paste
>
> Ok. So I created paster create myapp again.
>
> /myapp/setup.py I added entry point
> [paste.paster_create_template]
> myapp = myapp:FrameworkTemplate
>
> what is the difference between these two:
> myapp = myapp:FrameworkTemplate
> myapp = myapp.myapp:FrameworkTemplate


That's just the different locations you might want to put the code in.
If you put it in myapp/__init__.py, then the first one, if you put it in
myapp/myapp/__init__.py (or myapp/myapp.py). It's entirely up to you
how you want to lay out your code.

-- 
Ian Bicking : ianb@??? : http://blog.ianbicking.org

_______________________________________________
Paste-users mailing list
Paste-users@???
http://webwareforpython.org/cgi-bin/mailman/listinfo/paste-users