> Is there some kind of cache while running mod_wsgi?
> I have updated my controller to not have /index anymore but I can
> still access the website example.com/myfirstapp/index even after
> restart of apache?
There is none which survives an Apache restart.
> class Root(controllers.RootController):
> @expose(template="myfirstapp.templates.myfirstapp")
> # @identity.require(identity.in_group("admin"))
> def myfirstapp(self):
> import time
> # log.debug("Happy TurboGears Controller Responding For Duty")
> return dict(now=time.ctime())
>
> Also,
> One of my apps called ccc has a form page and submit form page but no index.
>
> So if I access example.com/ccc/index I get 404 (good)
> My form page is called ccc, and I should access it via
> example.com/ccc/ccc but I still get 404. It seems as if the name of
> the page is same as the name of the app then the page will default to
> / (example.com/myfirstapp/ ) Is that correct? Should it be that way?
>
> example.com/ccc/saveccc works just fine.
I don't know how TurboGears itself is implemented and copes with
changes to code.
One thing to watch out for are old .pyc files laying around. If for
some reason these exist but where they contain compiled byte code for
older version of code file, it could be running it. So, start by
removing .pyc files in your application directories.
Graham
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears" 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/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---