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?

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
Toms's avatar
767
Toms
asked 12 years ago
todofixthis's avatar
1.3k
todofixthis
updated 12 years ago

Comments

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.

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
Evgeny's avatar
13.2k
Evgeny
answered 12 years ago, updated 12 years ago
link

Comments

see more comments