Josh Godsiff-2 wrote:
> 
> With regards to template edits not taking effect, there's a possibility 
> you're editing files the source directory, and not recompiling them. If 
> there's a file in the top of the directory called `setup.py`, try 
> running the following commands from within that directory:
> 
>    python setup.py build
>    python setup.py install
> 
> Then restart the webserver.
> (You may need to run these commands as Root, depending on your setup. 
> Also, I have no idea how to do this on Windows, if that's what you're 
> running this on.)
> 
> Effectively, if you're editing files in the source directory, but not 
> rebuilding and reinstalling them, then they won't get copied into the 
> actual installed directory (hence why the changes won't appear to take 
> effect).
> 

And if you will end up doing a lot of editing, its probably worth your time
to setup the development environment, edit your copy of the source, and then
reinstall that source.

http://trac.edgewall.org/wiki/TracDev/DevelopmentEnvironmentSetup

-- 
View this message in context: 
http://old.nabble.com/Replacing-text-in-the-template-w--genshi-templates--tp29425125p29519289.html
Sent from the Trac Users mailing list archive at Nabble.com.

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

Reply via email to