First time here? Check out the FAQ!
2

Migration askbot skins to templates

After the update I did:

manage.py migrate

Message:

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 settings.py changes or some folder migrations?

Toms's avatar
767
Toms
asked 2012-10-13 15:00:06 -0500
todofixthis's avatar
1.3k
todofixthis
updated 2012-10-13 17:18:05 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

2

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.

Evgeny's avatar
13.2k
Evgeny
answered 2012-10-13 15:19:06 -0500, updated 2012-10-13 15:21:03 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments