appadmin.html does not use any static files.

appadmin.html does however inherit from layout.html, which layout.html
does use static files.

-Thadeus





On Wed, Feb 17, 2010 at 3:39 PM, J.R. <[email protected]> wrote:
> Actually when I restarted the server, after having moved all of the
> default files out of myapp/views and myapp/static, and tried to access
> appadmin, the appadmin site would not work.  The appadmin controller
> is trying to load the views (an in turn static files).  So I could not
> simply remove those files.  :(
>
> On Feb 17, 2:55 pm, mdipierro <[email protected]> wrote:
>> No but everything is there serves a purpose. generic.* for example.
>> Even if you are not using them, you may be using them in the future.
>>
>> On Feb 17, 11:39 am, "J.R." <[email protected]> wrote:
>>
>>
>>
>> > Now don't I feel silly for not just trying that out. I just assumed
>> > those files were needed for appadmin.
>>
>> > Thanks,
>>
>> > J.R.
>>
>> > P.S. - I know this is off-topic but as a recent graduate from DePaul
>> > (MBIT) I wish I was more aware of you and this project when I was
>> > there.  I felt like I was the only Python advocate among a lot
>> > of .Net'ers.   Thanks again, for your time.
>>
>> > On Feb 17, 10:18 am, mdipierro <[email protected]> wrote:
>>
>> > > This is perfectly appropriate.
>>
>> > > admin files are in a separate folder (applications/admin).
>>
>> > > appadmin files are in you app but there is only two of them
>> > > (controllers/appadmin.py and views/appadmin.html). The reason they are
>> > > in your app is because they belong to id and you are welcome to
>> > > customize them without affecting other apps. The other files you see
>> > > are not used by appadmin and you can remove them if you do not need
>> > > them.
>>
>> > > On Feb 17, 10:01 am, "J.R." <[email protected]> wrote:
>>
>> > > > Disclaimer:  I have never been apart of a mailing list or google group
>> > > > so please excuse me if this is not the right place to post this.
>>
>> > > > I have just started a few web apps with Web2Py and everything is
>> > > > working great.  My question is more of organization than anything
>> > > > else. Not anything major at all.
>>
>> > > > Within an app you have all of your app files in addition to the app-
>> > > > admin files.  Is there a simple way to keep in separate folders the
>> > > > appadmin files from the app files itself.  The controller folder is
>> > > > not that big of a deal but for the views and static folder, it would
>> > > > be nice if all of the appadmin 'dependencies' (for lack of a better
>> > > > word) were located in separate folders.  i know I can put my own app's
>> > > > files in their separate respective folders, but I think it would be
>> > > > nice if the appadmin already had its files separated.
>>
>> > > > I mainly ask about this because some of the apps I am creating are
>> > > > actually old static websites that I am converting to web2py.  Dragging
>> > > > all the the old static content over creates some naming conflicts and
>> > > > then there is confusion (despite folder organization) between some of
>> > > > the designers and developers as to which static files belong to which
>> > > > app (our app or appadmin).
>>
>> > > > Another reason is just purely for the sake of a clean folder layout
>> > > > scheme.
>>
>> > > > I know this is petty to ask about and I am sure there are bigger
>> > > > issues to deal with.
>>
>> > > > Thank you for your time and thanks to all the developers that make
>> > > > this thing work!
>>
>> > > > J.R.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "web2py-users" 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/web2py?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" 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/web2py?hl=en.

Reply via email to