grizzly: how to apply changes

Asked by mat zara

If in the dashboard, i apply some changes to templates files, for example modifying volumes/_create.html, I'm able to see those changes in the dashboard panel.

If I try to change something for example in volumes/tables.py (I tried also to put some syntax error in the code) I can't see those changes in the dashboard panel.

I tried to restart apache restart...

Question information

Language:
English Edit question
Status:
Answered
For:
OpenStack Dashboard (Horizon) Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Rob Raymond (rob-raymond) said :
#1

It is hard to say what is wrong. The fact that you were able to modify the templates, confirms that the codebase you are modifying is being served by Apache/WSGI. Template files are loaded differently than python files. But restarting Apache should pick up the change.

Is there a tables.pyc with a more recent timestamp in the same volumes directory?

Can you help with this problem?

Provide an answer of your own, or ask mat zara for more information if necessary.

To post a message you must log in.