Hello.

I want to start customizing the website, so I went into osqa/forum/skins and copied the default folder and called it "push".

I then went into the settings_local.py and changed the template name from 'default' to 'push' as well as set the mode to debug = true.

But nothing is happening, am I doing something wrong?

Thanks for any help.

asked 29 Sep '11, 13:48

denis's gravatar image

denis
11247
accept rate: 0%


you need to rebuild settings_local.py first then restart apache.

to rebuild the python file.. connect using SSH for remote server or terminal if its local then open the folder where the python file is in.. after that open python prompt by writing "python" or "pythonX.Y" where X.Y is the version of python.

then do the following:

import py_compile
py_compile.compile('settings_local.py')

then restart apache... and you are all set :)

link

answered 30 Sep '11, 23:38

Fahd's gravatar image

Fahd
171249
accept rate: 20%

Thanks for awesome answer @Fahd , one last thing. I know PHP and I'm new at Python, do you know where I can find the version of Python I'm using? I installed this on my server through webfaction (which was really easy). Thanks.

(01 Oct '11, 00:21) denis

you could go to your webfaction control panel under domain/applications here https://my.webfaction.com/app_/list and make sure what version appears next to you application.. then from the SSH console, write: python if you find it the same version then use just the word python, or else you need to specify the same version thats in your control panel..

lets say its 2.7! then you need to write python2.7 then hit return to start coding :)

(01 Oct '11, 00:51) Fahd
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×23
×5

Asked: 29 Sep '11, 13:48

Seen: 474 times

Last updated: 01 Oct '11, 00:51

powered by OSQA