Ask Your Question

Migration askbot skins to templates

asked 2012-10-13 15:00:06 -0600

Toms's avatar

updated 2012-10-13 17:18:05 -0600

todofixthis's avatar

After the update I did: migrate


Time to move skin files  from /mydjango/askbot/skins/default.
Now we have 'askbot/templates' and 'askbot/media'

What exactly should I do now? Some changes or some folder migrations?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2012-10-13 15:19:06 -0600

Evgeny's avatar

updated 2012-10-13 15:21:03 -0600

If you had any custom files inside askbot/skins/default/templates, move them to askbot/templates. If there were any custom files inside askbot/skins/default/media, move them to askbot/media.

If you had other custom skins along with default in the same directory, put them outside of askbot tree.

The test you are mentioning at this time is checking the askbot/skins directory and reporting error if it has any subdirectories. With this change we wanted to make it easier for the developers to find the templates and the media files.

As a side-note: we are not done yet with changing the way skins work, I think we will in the near future switch to the django's default template resolution methods. When we do this, there probably will be another startup self-test which will tell you what to do.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2012-10-13 15:00:06 -0600

Seen: 2,018 times

Last updated: Oct 13 '12